From c1d45ea2305cfb428c7378dfe99d930806c0253b Mon Sep 17 00:00:00 2001 From: Yorhel Date: Thu, 5 Nov 2009 15:27:36 +0100 Subject: 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. --- data/docs/11 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'data/docs') 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.
sesslimit
(login) Too many open sessions for the current user.
gettype
(get) Unknown type argument to the 'get' command.
getinfo
(get) Unknown info flag to the 'get' command. The name of the unrecognised flag is given in an additional "flag" member.
-
filterop
(get) Bad operator in filter expression for the field/value combination. Includes three additional members: "field", "op" and "value" of the incorrect expression.
-
filterval
(get) Wrong type or format for the value in a filter expression. Adds same three members as the 'filterop' error.
-
filterfield
(get) Unknown field in filter expression. Adds same three members as the 'filterop' error.
+
filter
(get) Unknown filter field or invalid combination of field/operator/argument type. Includes three additional members: "field", "op" and "value" of the incorrect expression.
-- cgit v1.2.3