summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-09-07 14:15:16 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-09-07 14:15:16 -0400
commit95eb24dfa2e3285c3745677acf481fe19b39ee0a (patch)
tree1aa4c73bb850e6bf55ff3d96acf3bc08213afe23 /tests
parenta034349c535b054c9d31beb4e1133f8cd0b68c5a (diff)
Parsing UPDATE
Diffstat (limited to 'tests')
-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>