diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-08-21 16:03:45 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-08-21 16:03:45 -0400 |
commit | a8a9ea33b3e9b7d072f0843ba3bb709a4a3eb7a9 (patch) | |
tree | d14fa20d4fc3425da7e101a034526dd98dd22d1a /lib/basis.lig | |
parent | 535d72045b35d01cf4513af273262c3c50c219fe (diff) |
OFFSET
Diffstat (limited to 'lib/basis.lig')
-rw-r--r-- | lib/basis.lig | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/basis.lig b/lib/basis.lig index 3b77a1af..b85587bb 100644 --- a/lib/basis.lig +++ b/lib/basis.lig @@ -64,11 +64,16 @@ type sql_limit val sql_no_limit : sql_limit val sql_limit : int -> sql_limit +type sql_offset +val sql_no_offset : sql_offset +val sql_offset : int -> sql_offset + val sql_query : tables ::: {{Type}} -> selected ::: {{Type}} -> {Rows : sql_query1 tables selected, OrderBy : sql_order_by tables, - Limit : sql_limit} + Limit : sql_limit, + Offset : sql_offset} -> sql_query selected val sql_field : otherTabs ::: {{Type}} -> otherFields ::: {Type} -> fieldType ::: Type -> agg ::: {{Type}} |