Python DB API 2.0 backend support.
In addition to DB API 2.0 support this class implements an SQL query
filter, based on a set of rules (which remain to be defined...)
Components can alter the database by adding new tables in the schema.
These new tables can only be accessed via raw SQL queries.
|
|
|
disconnect(self)
Commit changes to the database and disconnect. |
source code
|
|
|
connect(self)
Connect to the database, set _db
instance variable. |
source code
|
|
|
reconnect(self)
Disconnect and reconnect to the database. |
source code
|
|
|
|
int
|
insert(self,
sql_query,
*params)
Execute an INSERT SQL query in the db backend and return the ID fo
the row if AUTOINCREMENT is used |
source code
|
|
elisa.extern.db_row.DBRow list
|
|
|
|
|
|
string list
|
|
Inherited from extern.log.log.Loggable :
debug ,
doLog ,
error ,
info ,
log ,
logFunction ,
logObjectName ,
warning ,
warningFailure
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|