db.select: updated doc strings for filter format

This commit is contained in:
Doug Blank 2016-01-11 17:36:37 -05:00
parent 9d6d791e21
commit f45c75988c

View File

@ -1888,10 +1888,10 @@ class DbWriteBase(DbReadBase):
sort - use sort order (argument to DB.get_X_handles) sort - use sort order (argument to DB.get_X_handles)
start - position to start start - position to start
limit - count to get; -1 for all limit - count to get; -1 for all
filter - [["AND", [(field, SQL string_operator, value), filter - (field, SQL string_operator, value)
(field, SQL string_operator, value), ...], ["AND", [filter, filter, ...]]
["OR", [(field, SQL string_operator, value), ["OR", [filter, filter, ...]]
(field, SQL string_operator, value), ...]]
handles all SQL except for NOT expression, eg NOT x = y handles all SQL except for NOT expression, eg NOT x = y
""" """
class Result(list): class Result(list):