summaryrefslogtreecommitdiff
path: root/tests/update.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/update.ur')
-rw-r--r--tests/update.ur5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/update.ur b/tests/update.ur
new file mode 100644
index 0000000..6d8060d
--- /dev/null
+++ b/tests/update.ur
@@ -0,0 +1,5 @@
+table t1 : {A : int, B : string, C : float, D : bool}
+
+fun main () : transaction page =
+ () <- dml (UPDATE t1 SET B = 'Hi', C = 12.34 WHERE A = 5);
+ return <html><body>Updated.</body></html>