Home | Trees | Index | Help |
|
---|
Package pydo :: Package drivers :: Module oracleconn :: Class OracleDBI |
|
object
--+ |DBIBase
--+ | OracleDBI
Method Summary | |
---|---|
__init__(self,
connectArgs,
pool,
verbose,
initFunc)
| |
for the given table, returns a 2-tuple: a dict of Field objects keyed by name, and list of multi-column unique constraints (sets of Fields)). | |
Executes the statement with the values and does conversion of the return result as necessary. | |
Produces the value of each item in the row, reading any LOBs before the LOB locators get invalidated by a subsequent fetch. (Static method) | |
If db uses auto increment, should obtain the value of the auto-incremented field named 'name' | |
lists the tables in the database schema | |
sequence_mapper(table,
column)
(Static method) | |
Inherited from DBIBase | |
| |
internal function that turns a result set into a list of dictionaries. (Static method) | |
| |
commits a transaction | |
returns a database cursor for direct access to the db connection | |
disassociate from the current connection, which may be deleted or returned to a pool. | |
returns a converter instance. | |
If db has sequences, this should return the next value of the sequence named 'name' | |
(Static method) | |
rolls back a transaction | |
switch the connection in use for the current thread with another one. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T |
Property Summary | |
---|---|
Inherited from DBIBase | |
conn : the underlying db connection |
Class Variable Summary | |
---|---|
bool |
auto_increment = True
|
NoneType |
autocommit = None |
str |
paramstyle = 'named'
|
Inherited from DBIBase | |
bool |
has_sane_rowcount = True
|
Instance Method Details |
---|
describeTable(self, table, schema=None, sequence_mapper=None)for the given table, returns a 2-tuple: a dict of Field objects keyed by name, and list of multi-column unique constraints (sets of Fields)). The Field instances should contain information about whether they are unique or sequenced.
|
execute(self, sql, values=(), qualified=False)Executes the statement with the values and does conversion of the return result as necessary. result is list of dictionaries, or number of rows affected
|
getAutoIncrement(self, name)If db uses auto increment, should obtain the value of the auto-incremented field named 'name'
|
listTables(self, schema=None)lists the tables in the database schema
|
Static Method Details |
---|
field_values(row)Produces the value of each item in the row, reading any LOBs before the LOB locators get invalidated by a subsequent fetch. |
Class Variable Details |
---|
auto_increment
|
autocommit
|
paramstyle
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Wed Mar 8 10:18:59 2006 | http://epydoc.sf.net |