diff tests/selclause.ur @ 1627:5c1f10cdac63

New 't.*' notation for SELECT
author Adam Chlipala <adam@chlipala.net>
date Sat, 03 Dec 2011 17:07:34 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/selclause.ur	Sat Dec 03 17:07:34 2011 -0500
@@ -0,0 +1,6 @@
+table t : { A : int, B : string, C : float }
+table u : { D : int, E : string, F : float }
+
+val q : transaction (list {T : { A : int, B : string, C : float}, U : { D : int }, X : string }) =
+    queryL (SELECT t.*, u.D, 'hi' AS X
+            FROM t, u)