| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
PostgresQueryMixin --+
|
object --+ |
| |
StandardQueryMixin --+
|
QuerierMixin --+
|
UnmanagedQuerier
A simple interface to querying the database through a connection
managed by someone else.
This is typically used as in::
with base.getTableConn() as conn:
q = UnmanagedQuerier(conn)
...
This contains numerous methods abstracting DB functionality a bit.
Documented ones include:
* schemaExissts(schema)
* getColumnsFromDB(tableName)
* getTableType(tableName) -- this will return None for non-existing tables,
which is DaCHS' official way to determine table existence.
* getTimeout() -- returns the current query timeout in seconds
* setTimeout(timeout) -- sets a timeout in seconds.
| Instance Methods | |||
|
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
| Class Variables | |
|
Inherited from |
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |