sql. Getting SQL-query result as a hash
|
$.limit(n)
|
get only n records.
|
$.offset(o)
|
skip first o records of the query result.
|
$.bind[hash]
[3.1.4] |
variables to bind, see «Queries with bound variables»
|
$.distinct(true/false)
|
false or 0=consider duplicate an error (default);
true or 1=get records with unique keys. |
$.type[hash/string/table]
[3.3.0] |
hash=each hash item contain hash (default);
string=each hash item contain string. You must specify exactly two columns in your SQL query; table=each hash item containing table. |
Copyright © 19972021 Art. Lebedev Studio | http://www.artlebedev.com | Last updated: 04.09.2008 |