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

Class Sqlite_dbutils

source code

     object --+    
              |    
Generic_dbutils --+
                  |
                 Sqlite_dbutils

Custom database utilities for SQLite.
Instance Methods [hide private]
 
_sub_placeholder(self, sql)
Format the argument placeholders for sqlite
source code
 
execute(self, cursor, sql, args=None)
Execute SQL command, replacing %s with ? for variable substitution in sqlite3.
source code
 
executemany(self, cursor, sql, seq)
Execute many sql commands
source code

Inherited from Generic_dbutils: __init__, autocommit, last_id, tname

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]

execute(self, cursor, sql, args=None)

source code 
Execute SQL command, replacing %s with ? for variable substitution in sqlite3.
Overrides: Generic_dbutils.execute

executemany(self, cursor, sql, seq)

source code 
Execute many sql commands
Overrides: Generic_dbutils.executemany
(inherited documentation)