diff tests/init.ur @ 1073:b2311dfb3158

Initializers and setval
author Adam Chlipala <adamc@hcoop.net>
date Sun, 13 Dec 2009 14:20:41 -0500
parents
children 0657e5adc938
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/init.ur	Sun Dec 13 14:20:41 2009 -0500
@@ -0,0 +1,6 @@
+sequence seq
+table fred : {A : int, B : int}
+
+initializer
+    setval seq 1;
+    dml (INSERT INTO fred (A, B) VALUES (0, 1))