diff options
author | 2008-08-31 08:32:18 -0400 | |
---|---|---|
committer | 2008-08-31 08:32:18 -0400 | |
commit | 447b60afccc89ef18d8f92a260dd1fcdf735898e (patch) | |
tree | 93d1ffca9832084286525896afc4c17eaf5d23f4 /tests/limit.ur | |
parent | 508290e29047e068b9db4b02485fefd9e3ced81c (diff) |
Laconic -> Ur
Diffstat (limited to 'tests/limit.ur')
-rw-r--r-- | tests/limit.ur | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/limit.ur b/tests/limit.ur new file mode 100644 index 00000000..5bfb1a81 --- /dev/null +++ b/tests/limit.ur @@ -0,0 +1,7 @@ +table t : {A : int, B : string, C : float} + +val q1 = (SELECT * FROM t LIMIT 42) +val q2 = fn n => (SELECT * FROM t LIMIT {n}) + +val q3 = (SELECT * FROM t OFFSET 3) +val q4 = fn n => fn m => (SELECT * FROM t LIMIT {n} OFFSET {m}) |