|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getRow(self,
*key)
returns the row with the primary key key from the table. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
query(self,
query,
data={ } )
runs query within this table's connection. |
source code
|
|
|
getSelectClause(self,
resultTableDef)
returns the select clause to come up with resultTableDef. |
source code
|
|
|
getQuery(self,
resultTableDef,
fragment,
pars=None,
distinct=False,
limits=None,
groupBy=None)
returns a result table definition, query string and a parameters
dictionary for a query against this table. |
source code
|
|
|
iterQuery(self,
resultTableDef=None,
fragment='
' ,
pars=None,
distinct=False,
limits=None,
groupBy=None)
like getTableForQuery, except that an iterator over the result rows
is returned. |
source code
|
|
|
getTableForQuery(self,
resultTableDef=None,
fragment='
' ,
pars=None,
distinct=False,
limits=None,
groupBy=None)
returns a Table instance for a query on this table. |
source code
|
|
Inherited from DBMethodsMixin :
copyIn ,
copyOut ,
deleteMatching ,
dropIndices ,
ensureOnDiskMatches ,
ensureSchema ,
getDeleteQuery ,
makeIndices
Inherited from base.sqlsupport.QuerierMixin :
abort ,
configureConnection ,
enableAutocommit ,
finish ,
queryDicts ,
queryToDicts
Inherited from base.sqlsupport.PostgresQueryMixin :
dropTable ,
foreignKeyExists ,
getACLFromRes ,
getColumnsFromDB ,
getForeignKeyName ,
getOIDForTable ,
getPrimaryIndexName ,
getRowEstimate ,
getSchemaPrivileges ,
getServerVersion ,
getTablePrivileges ,
getTableType ,
hasIndex ,
parsePGACL ,
roleExists ,
schemaExists
Inherited from base.sqlsupport.StandardQueryMixin :
getTimeout ,
setSchemaPrivileges ,
setTablePrivileges ,
setTimeout
Inherited from table.BaseTable :
addTuple ,
close ,
removeRow ,
runScripts ,
validateParams
Inherited from base.meta.MetaMixin :
addMeta ,
buildRepr ,
copyMetaFrom ,
delMeta ,
getAllMetaPairs ,
getMeta ,
getMetaKeys ,
getMetaParent ,
isEmpty ,
iterMeta ,
keys ,
makeOriginal ,
setMeta ,
setMetaParent ,
traverse
Inherited from common.ParamMixin :
getParam ,
getParamByName ,
getParamByUtype ,
getParamDict ,
iterParams ,
setParam ,
setParams
Inherited from MetaTableMixin :
addToMeta ,
cleanFromMeta
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|