diff tests/limit.lac @ 232:a338da9d82f3

OFFSET
author Adam Chlipala <adamc@hcoop.net>
date Thu, 21 Aug 2008 16:03:45 -0400
parents eadeea528f75
children
line wrap: on
line diff
--- a/tests/limit.lac	Thu Aug 21 16:00:01 2008 -0400
+++ b/tests/limit.lac	Thu Aug 21 16:03:45 2008 -0400
@@ -2,3 +2,6 @@
 
 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})