annotate tests/limit.lac @ 231:eadeea528f75

LIMIT
author Adam Chlipala <adamc@hcoop.net>
date Thu, 21 Aug 2008 16:00:01 -0400
parents
children a338da9d82f3
rev   line source
adamc@231 1 table t : {A : int, B : string, C : float}
adamc@231 2
adamc@231 3 val q1 = (SELECT * FROM t LIMIT 42)
adamc@231 4 val q2 = fn n => (SELECT * FROM t LIMIT {n})