diff tests/pkey.ur @ 707:d8217b4cb617

PRIMARY KEY
author Adam Chlipala <adamc@hcoop.net>
date Tue, 07 Apr 2009 16:14:31 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/pkey.ur	Tue Apr 07 16:14:31 2009 -0400
@@ -0,0 +1,6 @@
+table t : {A : int, B : int}
+  PRIMARY KEY (A, B)
+
+fun main () : transaction page =
+    queryI (SELECT * FROM t) (fn _ => return ());
+    return <xml/>