diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/delete.ur | 5 | ||||
-rw-r--r-- | tests/delete.urp | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/delete.ur b/tests/delete.ur new file mode 100644 index 00000000..45df15ab --- /dev/null +++ b/tests/delete.ur @@ -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> diff --git a/tests/delete.urp b/tests/delete.urp new file mode 100644 index 00000000..61ed0224 --- /dev/null +++ b/tests/delete.urp @@ -0,0 +1,6 @@ +debug +database dbname=test +exe /tmp/webapp +sql /tmp/urweb.sql + +delete |