Trees | Index | Help |
|
---|
Module database :: Class ModuleBase |
|
object
--+
|
ModuleBase
Media
Method Summary | |
---|---|
__init__(self,
field_names)
| |
Begin(self)
| |
Provide information on how to best access this table. | |
Close a cursor previously created by Open By default, do nothing | |
Find the value for the N-th column of the current row. | |
Commit(self)
| |
Connect to an existing virtual table, by default it is identical to Create | |
Called when the virtual table is created. | |
Release a connection to a virtual table and destroy the underlying table implementation. | |
Release a connection to a virtual table. | |
Determines if the current cursor points to a valid row. | |
Begin a search of a virtual table. | |
Move the cursor to the next row. | |
Create/prepare a cursor used for subsequent reading. | |
Rollback(self)
| |
Return the rowid of the current row. | |
Sync(self)
| |
Change the row of the current rowid with the new rowid and new values | |
Delete row rowid | |
Insert a new row of data into the table | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
BestIndex(self, constraints, orderby)Provide information on how to best access this table. Must be overriden by subclass. @param constraints: a tuple of (column #, op) defining a constraints @param orderby: a tuple of (column #, desc) defining the order by @returns a tuple of up to 5 values: 0: aConstraingUsage: a tuple of the same size as constraints. Each item is either None, argv index(int), or (argv index, omit(Bool)). 1: idxNum(int) 2: idxStr(string) 3: orderByConsumed(Bool) 4: estimatedCost(float) |
Close(self)Close a cursor previously created by Open By default, do nothing |
Column(self, N)Find the value for the N-th column of the current row.
|
Connect(self, connection, modulename, databasename, vtablename, *args)Connect to an existing virtual table, by default it is identical to Create |
Create(self, connection, modulename, databasename, vtablename, *args)Called when the virtual table is created.
|
Destroy(self)Release a connection to a virtual table and destroy the underlying table implementation. By default, we do nothing. |
Disconnect(self)Release a connection to a virtual table. By default, we do nothing. |
Eof(self)Determines if the current cursor points to a valid row. The Sqlite doc is wrong on this.
|
Filter(self, idxNum, idxStr, argv)Begin a search of a virtual table.
|
Next(self)Move the cursor to the next row.
|
Open(self)Create/prepare a cursor used for subsequent reading.
|
Rowid(self)Return the rowid of the current row.
|
UpdateChangeRow(self, rowid, newrowid, fields)Change the row of the current rowid with the new rowid and new values
|
UpdateDeleteRow(self, rowid)Delete row rowid
|
UpdateInsertRow(self, rowid, fields)Insert a new row of data into the table
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Aug 15 18:58:25 2008 | http://epydoc.sf.net |