SQL shared libraries manager.
More...
#include <sqlSharedLibraries.hpp>
SQL shared libraries manager.
- Author
- Vincent Lachenal
- Since
- 0.1
◆ makeConnection()
Make new SQL connection
- Parameters
-
config | the database configuration |
- Returns
- the SQL connection
- Exceptions
-
◆ makeSharedConnection()
Make shared SQL connection
- Parameters
-
config | the database configuration |
- Returns
- the SQL connection
- Exceptions
-
◆ registerMySQL()
static void anch::sql::SQLSharedLibraries::registerMySQL |
( |
| ) |
|
|
static |
Register MySQL driver utlility method
◆ registerPostgreSQL()
static void anch::sql::SQLSharedLibraries::registerPostgreSQL |
( |
| ) |
|
|
static |
Register PostgreSQL driver utlility method
◆ registerSQLite()
static void anch::sql::SQLSharedLibraries::registerSQLite |
( |
| ) |
|
|
static |
Register SQLite3 driver utlility method
◆ registerSQLLibrary()
void anch::sql::SQLSharedLibraries::registerSQLLibrary |
( |
const std::string & | db, |
|
|
const std::string & | library ) |
Register SQL library.
This method will not open the libraries.
- Parameters
-
db | the database client/server name which will be used in configuration file |
library | the library name |
The documentation for this class was generated from the following file: