diff options
author | Yorhel <git@yorhel.nl> | 2009-11-05 15:27:36 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-11-05 15:27:36 +0100 |
commit | c1d45ea2305cfb428c7378dfe99d930806c0253b (patch) | |
tree | 4feae1dd70cce5226b805e5cc0abd4b11cdae684 /data | |
parent | 143925419c36cb3bab0ee772fa32bd9202667ff8 (diff) |
Multi::API: Rewrote filtertosql()
The filters are now defined in the arguments rather than the function,
the function simply provides the necessary means to define the filters
in a concise way.
This also means there's a lot less error handling code necessary, and
therefore merged the 'filter*' error messages into one 'filter' error.
This code is far more readable and maintainable than the previous
implementation.
Diffstat (limited to 'data')
-rw-r--r-- | data/docs/11 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/data/docs/11 b/data/docs/11 index 3f1a4615..f07c1a81 100644 --- a/data/docs/11 +++ b/data/docs/11 @@ -198,9 +198,7 @@ however still required.<br /> <dt>sesslimit</dt><dd>(login) Too many open sessions for the current user.</dd> <dt>gettype</dt><dd>(get) Unknown type argument to the 'get' command.</dd> <dt>getinfo</dt><dd>(get) Unknown info flag to the 'get' command. The name of the unrecognised flag is given in an additional "flag" member.</dd> - <dt>filterop</dt><dd>(get) Bad operator in filter expression for the field/value combination. Includes three additional members: "field", "op" and "value" of the incorrect expression.</dd> - <dt>filterval</dt><dd>(get) Wrong type or format for the value in a filter expression. Adds same three members as the 'filterop' error.</dd> - <dt>filterfield</dt><dd>(get) Unknown field in filter expression. Adds same three members as the 'filterop' error.</dd> + <dt>filter</dt><dd>(get) Unknown filter field or invalid combination of field/operator/argument type. Includes three additional members: "field", "op" and "value" of the incorrect expression.</dd> </dl> |