Package Pyblio :: Module Query :: Class Null
[hide private]
[frames] | no frames]

Class Null

source code

 object --+    
          |    
_Constraint --+
              |
             Null

Does not search anything, but is useful when programatically constructing a query:
>>> q = Null()
>>> q = q & AnyWord(...)


Instance Methods [hide private]
 
__and__(self, other) source code
 
__or__(self, other) source code
 
run(self, db) source code

Inherited from _Constraint: __invert__, __len__, apply

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__and__(self, other)
(And operator)

source code 
Overrides: _Constraint.__and__

__or__(self, other)
(Or operator)

source code 
Overrides: _Constraint.__or__