|
libdballe
5.18
|
Database connection. More...
#include <internals.h>
Public Member Functions | |
| void | connect (const char *dsn, const char *user, const char *password) |
| void | driver_connect (const char *config) |
| std::string | driver_name () |
| void | set_autocommit (bool val) |
| void | commit () |
| Commit a transaction. | |
| void | rollback () |
| Rollback a transaction. | |
Data Fields | |
| SQLHDBC | od_conn |
| ODBC database connection. | |
| bool | connected |
| True if the connection is open. | |
| enum ServerType | server_type |
| Type of SQL server we are connected to. | |
Protected Member Functions | |
| void | init_after_connect () |
Database connection.
1.7.6.1