Mercurial > urweb
view tests/limit.lac @ 240:7036d29574f2
Shorthand for multi-binding con declaration
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 28 Aug 2008 13:39:20 -0400 |
parents | a338da9d82f3 |
children |
line wrap: on
line source
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})