Package BioSQL :: Module DBUtils :: Class Generic_dbutils
[hide private]
[frames] | no frames]

Class Generic_dbutils

source code

object --+
         |
        Generic_dbutils
Known Subclasses:

Default database utilities.
Instance Methods [hide private]
 
__init__(self)
Create a Generic_dbutils object.
source code
 
tname(self, table)
Return the name of the table.
source code
 
last_id(self, cursor, table)
Return the last used id for a table.
source code
 
execute(self, cursor, sql, args=None)
Just execute an sql command.
source code
 
executemany(self, cursor, sql, seq)
Execute many sql commands.
source code
 
autocommit(self, conn, y=1)
Set autocommit on the database connection.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Create a Generic_dbutils object.
Overrides: object.__init__