Mercurial > hg > ZDBInterface
changeset 12:09882d5a3989
fix bug with _max and _skip. add _size and _start as alias.
author | casties |
---|---|
date | Thu, 07 Jul 2011 19:22:29 +0200 |
parents | 22c16a632909 |
children | cf03ab908a2b |
files | ZDBInterfaceFolder.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ZDBInterfaceFolder.py Thu Jun 23 11:16:19 2011 +0200 +++ b/ZDBInterfaceFolder.py Thu Jul 07 19:22:29 2011 +0200 @@ -118,10 +118,11 @@ elif key == "_lop": # logical operation joining WHERE clauses whereOp = sqlName(val) - elif key == "max": + elif key == "_max" or key == "_size": # number of results limit = sqlName(val) - elif key == "skip": + elif key == "_skip" or key == "_start": + logging.debug("SKIP!") # start at result number offset = sqlName(val) elif key[:3] == "_op":