|
__init__(self,
db,
op,
first=None,
second=None,
type=None,
**optional_args)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
belongs(self,
*value,
**kwattr)
Accepts the following inputs:
field.belongs(1,2)
field.belongs((1,2))
field.belongs(query) |
source code
|
|
|
|
|
|
|
contains(self,
value,
all=False,
case_sensitive=False)
The case_sensitive parameters is only useful for PostgreSQL For other
RDMBs it is ignored and contains is always case in-sensitive For
MongoDB and GAE contains is always case sensitive |
source code
|
|
|
|
|
st_asgeojson(self,
precision=15,
options=0,
version=1) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|