summaryrefslogtreecommitdiff
path: root/caching-tests/test.ur
diff options
context:
space:
mode:
authorGravatar Ziv Scully <ziv@mit.edu>2015-07-19 19:12:50 -0700
committerGravatar Ziv Scully <ziv@mit.edu>2015-07-19 19:12:50 -0700
commit02e3a75b12e9f2dc7077d2cd2a8903db2bff92b4 (patch)
tree2637c1ca99e045f7bd68c1b1643f5e71692e1721 /caching-tests/test.ur
parenta197d648e075a696f5ca86b23913b668f2baf940 (diff)
Add parameterless query to caching test.
Diffstat (limited to 'caching-tests/test.ur')
-rw-r--r--caching-tests/test.ur8
1 files changed, 8 insertions, 0 deletions
diff --git a/caching-tests/test.ur b/caching-tests/test.ur
index f6568db4..578d59b3 100644
--- a/caching-tests/test.ur
+++ b/caching-tests/test.ur
@@ -19,6 +19,14 @@ fun flush id =
Changed {[id]}!
</body></xml>
+val flush17 =
+ dml (UPDATE tab
+ SET Val = Val * (Id + 2) / Val - 3
+ WHERE Id = 17);
+ return <xml><body>
+ Changed specifically 17!
+ </body></xml>
+
(* fun flush id = *)
(* res <- oneOrNoRows (SELECT tab.Val *)
(* FROM tab *)