pyroxide.db.dbhandle (version 19 , 2006-12-10 23:18:58 -0800 (Sun, 10 Dec 2006) )
index
/usr/lib/python2.4/site-packages/pyroxide/db/dbhandle.py

The dbhandle module.
 
A module to wrap a DB API 2 module.

 
Modules
       
logging

 
Classes
       
__builtin__.object
DBConnection

 
class DBConnection(__builtin__.object)
    A DB API 2 connection class wrapper.
 
  Methods defined here:
__getattr__(self, name)
Inherit underlying methods and attributes from connection.
__init__(self, dbModule, *args, **kwargs)
getDBModule(self)
getPlatform(self)

Properties defined here:
module
The underlying database API module
get = getDBModule(self)
platform
The database platform
get = getPlatform(self)

Data and other attributes defined here:
__dict__ = <dictproxy object>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'DBConnection' objects>
list of weak references to the object (if defined)

 
Functions
       
connect(dbModule, *args, **kwargs)
A DB API 2 connection constructor.
 
Connect to the given dbModule using its connection constructor
and the given the positional arguments passed to args and the
key word args passed to kwargs.
 
Return the connection object.
simpleConnect(dbModule, user, password, host, database, port)
A DB API 2 connection constructor for supported modules using specific
connection parameters.
 
Connect to the given dbModule using the given parameters and return the
connection object.

 
Data
        __HeadURL__ = '$URL: http://pyroxide.org/svn/pyroxide/trunk/src/main/python/pyroxide/db/dbhandle.py $'
__Id__ = '$Id: dbhandle.py 19 2006-12-11 07:18:58Z kevin $'
__LastChangedBy__ = '$Author: kevin $'
__LastChangedDate__ = '$Date: 2006-12-10 23:18:58 -0800 (Sun, 10 Dec 2006) $'
__Revision__ = '$Rev: 19 $'
__copyright__ = '(c) 2006 rootsmith Inc.'
__date__ = ' 2006-12-10 23:18:58 -0800 (Sun, 10 Dec 2006) '
__version__ = ' 19 '