Package lemon :: Package external :: Package gadfly :: Module database :: Class gadfly
[show private | hide private]
[frames | no frames]

Class gadfly


as per the DBAPI spec "gadfly" is the connection object.

Method Summary
  __init__(self, databasename, directory, forscratch, autocheckpoint, verbose)
  add_remote_view(self, name, definition)
add a remote view to self.
  checkpoint(self)
permanently record committed updates...
  close(self)
checkpoint and clear the database...
  commit(self)
Commit the working database+transaction, flush log, new transid...
  cursor(self)
  DUMP_ALL(self)
  dumplog(self)
  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...
  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

Type:
int
Value:
0                                                                     

sql

Type:
NoneType
Value:
None                                                                  

verbose

Type:
int
Value:
0                                                                     

Generated by Epydoc 2.0 on Mon Nov 10 15:08:08 2003 http://epydoc.sf.net