#include <db_connection.h>
Inheritance diagram for CL_DBConnection:

Public Member Functions | |
Construction | |
| CL_DBConnection () | |
| Constructs a database connection. | |
| CL_DBConnection (CL_DBConnectionProvider *provider) | |
| Constructs a DBConnection. | |
| ~CL_DBConnection () | |
Operations | |
| CL_DBCommand | create_command (const CL_StringRef &text, CL_DBCommand::Type type=CL_DBCommand::sql_statement) |
| Create database command. | |
| CL_DBTransaction | begin_transaction (CL_DBTransaction::Type type=CL_DBTransaction::deferred) |
| Begin a transaction. | |
| CL_DBReader | execute_reader (CL_DBCommand &command) |
| Begin execution of database command. | |
| CL_String | execute_scalar_string (CL_DBCommand &command) |
| Execute database command and returns the first column of the first row. | |
| int | execute_scalar_int (CL_DBCommand &command) |
| Execute database command and returns the first column of the first row. | |
| void | execute_non_query (CL_DBCommand &command) |
| Execute database command. | |
|
|
Constructs a database connection.
|
|
|
Constructs a DBConnection.
|
|
|
|
|
|
Begin a transaction.
|
|
||||||||||||
|
Create database command.
|
|
|
Execute database command.
|
|
|
Begin execution of database command.
|
|
|
Execute database command and returns the first column of the first row.
|
|
|
Execute database command and returns the first column of the first row.
|
1.4.6