|
|
|
__init__(self,
sourceClass,
clause,
clauseTables=None,
**ops)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
|
|
|
|
|
|
accumulate(self,
*expressions)
Use accumulate expression(s) to select result using another SQL
select through current connection. |
|
|
|
accumulateMany(self,
*attributes)
Making the expressions for count/sum/min/max/avg of a given select
result attributes. |
|
|
|
accumulateOne(self,
func_name,
attribute)
Making the sum/min/max/avg of a given select result attribute. |
|
|
|
|
|
|
|
|
|
count(self)
Counting elements of current select results |
|
|
|
|
|
filter(self,
filter_clause) |
|
|
|
getOne(self,
default=<class sqlobject.sqlbuilder.NoDefault at 0x12f99b0>)
If a query is expected to only return a single value, using
``.getOne()`` will return just that value. |
|
|
|
|
|
lazyIter(self)
Returns an iterator that will lazily pull rows out of the database
and return SQLObject instances |
|
|
|
|
|
|
|
|
|
newClause(self,
new_clause) |
|
|
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|