view tests/limit.ur @ 250:98f551ddd54b

Fix Core con comparison
author Adam Chlipala <adamc@hcoop.net>
date Sun, 31 Aug 2008 09:52:52 -0400
parents 71bafe66dbe1
children a6cb33f49366
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})