A project I'm working on needs be able to change the default operator to an AND.
I've added an extra keyword argument and some tests to support setting the default operator on the QueryParser.
If :default-operator is not supplied then the default of OR is used, if it is supplied then it must be either :and or :or otherwise it'll cause problems for the case statement.
Hi,
A project I'm working on needs be able to change the default operator to an AND.
I've added an extra keyword argument and some tests to support setting the default operator on the QueryParser.
If :default-operator is not supplied then the default of OR is used, if it is supplied then it must be either :and or :or otherwise it'll cause problems for the case statement.
I've found clucy very useful, thanks.
-- sim