aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-08-21 16:03:45 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-08-21 16:03:45 -0400
commita8a9ea33b3e9b7d072f0843ba3bb709a4a3eb7a9 (patch)
treed14fa20d4fc3425da7e101a034526dd98dd22d1a /tests
parent535d72045b35d01cf4513af273262c3c50c219fe (diff)
OFFSET
Diffstat (limited to 'tests')
-rw-r--r--tests/limit.lac3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/limit.lac b/tests/limit.lac
index 47c6bff4..5bfb1a81 100644
--- a/tests/limit.lac
+++ b/tests/limit.lac
@@ -2,3 +2,6 @@ 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})