Package pydo :: Package drivers :: Module sqliteconn :: Class SqliteDBI
[show private | hide private]
[frames | no frames]

Class SqliteDBI

object --+    
         |    
   DBIBase --+
             |
            SqliteDBI


Method Summary
  __init__(self, connectArgs, pool, verbose, initFunc)
  describeTable(self, table, schema)
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)).
  getAutoIncrement(self, name)
If db uses auto increment, should obtain the value of the auto-incremented field named 'name'
  getConverter(self)
returns a converter instance.
  listTables(self, schema)
list the tables in the database schema.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T

Property Summary
  autocommit

Class Variable Summary
bool auto_increment = True

Instance Method Details

describeTable(self, table, schema=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.
Overrides:
pydo.dbi.DBIBase.describeTable (inherited documentation)

getAutoIncrement(self, name)

If db uses auto increment, should obtain the value of the auto-incremented field named 'name'
Overrides:
pydo.dbi.DBIBase.getAutoIncrement (inherited documentation)

getConverter(self)

returns a converter instance.
Overrides:
pydo.dbi.DBIBase.getConverter (inherited documentation)

listTables(self, schema=None)

list the tables in the database schema. The schema parameter is not supported by this driver.
Overrides:
pydo.dbi.DBIBase.listTables

Property Details

autocommit

Get Method:
fget(...)
Set Method:
fset(...)

Class Variable Details

auto_increment

Type:
bool
Value:
True                                                                   

Generated by Epydoc 2.0 on Wed Mar 8 10:18:58 2006 http://epydoc.sf.net