Package CHEM :: Package DB :: Package rdb :: Module database :: Class Database
[hide private]
[frames] | no frames]

Class Database



Base Database class

Instance Methods [hide private]
 
__init__(self, host, database, username, password)
constructor
 
connect(self)
Connect to the database
 
execute(self, cmdString)
Execute a command contained within cmdString
 
fetch(self)
Returns the output from the command
 
close(self)
Closes the connection to the db
 
insert(self, cmdString)
Performs low-level insert
 
select(self, cmdString)
Performs low-level select