diff demo/batch.ur @ 708:1a317a707d71

Add primary keys to demo
author Adam Chlipala <adamc@hcoop.net>
date Tue, 07 Apr 2009 16:22:11 -0400
parents 96ebc6bdb5a0
children 15ddd64a5113
line wrap: on
line diff
--- a/demo/batch.ur	Tue Apr 07 16:14:31 2009 -0400
+++ b/demo/batch.ur	Tue Apr 07 16:22:11 2009 -0400
@@ -1,6 +1,7 @@
 datatype list t = Nil | Cons of t * list t
 
 table t : {Id : int, A : string}
+  PRIMARY KEY Id
 
 fun allRows () =
     query (SELECT * FROM t)