summaryrefslogtreecommitdiff
path: root/tests/update.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/update.ur')
-rw-r--r--tests/update.ur2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/update.ur b/tests/update.ur
index 25efa348..e58c10cb 100644
--- a/tests/update.ur
+++ b/tests/update.ur
@@ -1,5 +1,5 @@
table t1 : {A : int, B : string, C : float, D : bool}
fun main () : transaction page =
- () <- dml (update {B = "6", C = 7.0} t1 (WHERE T.A = 5));
+ () <- dml (UPDATE t1 SET B = '6', C = 7.0 WHERE T.A = 5);
return <html><body>Updated.</body></html>