summaryrefslogtreecommitdiff
path: root/demo/noisy.ur
diff options
context:
space:
mode:
Diffstat (limited to 'demo/noisy.ur')
-rw-r--r--demo/noisy.ur1
1 files changed, 1 insertions, 0 deletions
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]}))