Inheritance diagram for MCDBConnection:
Public Member Functions
|Commit the current transaction. |
|Obtain a statement from the connection. |
|void||deleteTable (const mcllib::MCString &tableName)|
|Delete a table. |
|bool||existsTable (const mcllib::MCString &tableName)|
|Return true if the table exists. |
|bool||getAutoCommit () const|
|Query the current auto commit mode. |
|MCDBConnectionMetaData||getMetaData () const|
|Get meta data for the connection. |
|Create a unconnected connection. |
|Rollback the current transaction. |
|void||setAutoCommit (bool autoCommit)|
|Set auto commit mode. |
|void||truncateTable (const mcllib::MCString &tableName)|
|Truncate a table. |
|Destruct the connection, freeing any resources. |
The underlying database connection does not get closed until all dependent transactions and statements go out of scope.
Obtain a statement from the connection.
Statements are used to execute queries against the database connection.
Set auto commit mode.
If autoCommit is true then changes are committed to the database after each statement is executed.
Truncate a table.
Truncating a table deletes all rows in the table as efficiently as possible.