A Database interface provides generic database functionality: connect(), executeQuery(), etc.
The interface can be implemented for different types of databases: MySQL, Oracle, SQLServer, etc.
Located in /harmoni/core/DBHandler/Database.interface.php (line 15)
Commit a transaction. This will roll-back changes if errors occured in the transaction block.
Disconnects from the database.
Disconnects from the database.
Converts a database datetime/timestamp/time value (that has been fetched from the db) to a DateAndTime object.
Answer the info to display to users on a connection error.
Returns the total number of failed queries executed since the last call to connect().
Returns the total number of failed queries executed since the last call to connect().
Returns the total number of successful queries executed since the last call to connect().
Returns the total number of successful queries executed since the last call to connect().
Returns a short string name for this database type. Example: 'MySQL'
Returns a list of the tables that exist in the currently connected database.
Indicates whether there is an open connection to the database.
Indicates whether there is an open connection to the database.
Makes a persistent database connection.
Makes a persistent database connection.
Executes an SQL query.
Executes an SQL query. The method is passed a query object, which it converts to a SQL query string using the appropriate SQLGenerator object.
Roll-back a transaction manually instead of committing
This method selects the default database to use in queries.
Return TRUE if this database supports transactions.
Converts a DateAndTime object to a proper datetime/timestamp/time representation for this Database. This function must return a string including quotes if necessary for this specific database type.
Documentation generated on Wed, 19 Sep 2007 10:22:28 -0400 by phpDocumentor 1.3.0RC3