diff tests/delete.ur @ 301:54282db31a9b

Elaborated 'delete'
author Adam Chlipala <adamc@hcoop.net>
date Sun, 07 Sep 2008 13:52:42 -0400
parents
children 148ba06f3e67
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/delete.ur	Sun Sep 07 13:52:42 2008 -0400
@@ -0,0 +1,5 @@
+table t1 : {A : int, B : string, C : float, D : bool}
+
+fun main () : transaction page =
+        () <- dml (delete t1 (WHERE T.A = 5));
+        return <html><body>Deleted.</body></html>