Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package gadfly :: Module database :: Class gadfly |
|
as per the DBAPI spec "gadfly" is the connection object.
Method Summary | |
---|---|
__init__(self,
databasename,
directory,
forscratch,
autocheckpoint,
verbose)
| |
add a remote view to self. | |
permanently record committed updates... | |
checkpoint and clear the database... | |
Commit the working database+transaction, flush log, new transid... | |
cursor(self)
| |
DUMP_ALL(self)
| |
dumplog(self)
| |
(re)load existing database... | |
Reload and rerun committed updates from log, discard uncommitted... | |
discard the working db, new transid, recreate working db... | |
startup(self,
databasename,
directory,
scratch,
verbose)
| |
table_names(self)
| |
transaction_log(self)
|
Class Variable Summary | |
---|---|
int |
closed = 0 |
NoneType |
sql = None |
int |
verbose = 0 |
Method Details |
---|
add_remote_view(self, name, definition)add a remote view to self. Must be redone on each reinitialization! Must not recursively reenter the query evaluation process for this database! "Tables" added in this manner cannot be update via SQL. |
checkpoint(self)permanently record committed updates |
close(self)checkpoint and clear the database |
commit(self)Commit the working database+transaction, flush log, new transid |
open(self)(re)load existing database |
restart(self)Reload and rerun committed updates from log, discard uncommitted |
rollback(self)discard the working db, new transid, recreate working db |
Class Variable Details |
---|
closed
|
sql
|
verbose
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:08:08 2003 | http://epydoc.sf.net |