| Trees | Indices | Help |
|---|
|
|
Build a criteria object graph based on dictionary representations.
These representations can be nested.
Examples:
{'eq':10}
{'neq':10}
{'in':[1,2]}
{'gt':10}
{'lt':10}
{'and':({'gt':1},{'lt':10})}
{'or':({'eq':10},{'in':[1,2]})}
{'or':({'eq':10},{'or':({'eq':1},{'eq':2})}
|
|||
| Criteria @raise Exception, on invalid criteria. |
|
||
|
|||
|
|||
|
|||
METHODS = {'eq': Equal, 'neq': NotEqual, 'in': In, 'gt': Great
|
|||
|
|||
Build a Criteria object based on the specified dict representation.
|
|
|||
METHODS
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Thu May 2 09:10:28 2013 | http://epydoc.sourceforge.net |