From 0230ce71e14ea09b3037ff4b58c3bae323c12236 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Tue, 7 Apr 2009 16:22:11 -0400 Subject: Add primary keys to demo --- demo/noisy.ur | 1 + 1 file changed, 1 insertion(+) (limited to 'demo/noisy.ur') diff --git a/demo/noisy.ur b/demo/noisy.ur index 118af737..708cfa2c 100644 --- a/demo/noisy.ur +++ b/demo/noisy.ur @@ -1,6 +1,7 @@ datatype list t = Nil | Cons of t * list t table t : { Id : int, A : string } + PRIMARY KEY Id fun add id s = dml (INSERT INTO t (Id, A) VALUES ({[id]}, {[s]})) -- cgit v1.2.3