Table of Contents

Class: gadfly Zope-2.2.1-src/lib/python/Products/ZGadflyDA/gadfly/gadfly.py

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

Methods   
DUMP_ALL
__init__
add_remote_view
checkpoint
close
commit
cursor
dumplog
open
restart
rollback
startup
table_names
transaction_log
  DUMP_ALL 
DUMP_ALL ( self )

  __init__ 
__init__ (
        self,
        databasename=None,
        directory=None,
        forscratch=0,
        autocheckpoint=1,
        verbose=0,
        )

  add_remote_view 
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 
checkpoint ( self )

permanently record committed updates

  close 
close ( self )

checkpoint and clear the database

  commit 
commit ( self )

commit the working database+transaction, flush log, new transid

  cursor 
cursor ( self )

Exceptions   
error
  dumplog 
dumplog ( self )

  open 
open ( self )

(re)load existing database

  restart 
restart ( self )

reload and rerun committed updates from log, discard uncommitted

  rollback 
rollback ( self )

discard the working db, new transid, recreate working db

Exceptions   
error
  startup 
startup (
        self,
        databasename,
        directory,
        scratch=0,
        verbose=0,
        )

Exceptions   
error
  table_names 
table_names ( self )

  transaction_log 
transaction_log ( self )


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6