#include <connection.hpp>
cargo::sqlite3::Connection::Connection |
( |
const std::string & |
path | ) |
|
cargo::sqlite3::Connection::Connection |
( |
const Connection & |
| ) |
|
|
delete |
cargo::sqlite3::Connection::~Connection |
( |
| ) |
|
void cargo::sqlite3::Connection::exec |
( |
const std::string & |
query | ) |
|
Executes the query in the database.
- Parameters
-
query | query to be executed |
sqlite3 * cargo::sqlite3::Connection::get |
( |
| ) |
|
- Returns
- pointer to the corresponding sqlite3 database object
std::string cargo::sqlite3::Connection::getErrorMessage |
( |
| ) |
|
- Returns
- last error message in the database
::sqlite3* cargo::sqlite3::Connection::mDbPtr |
|
private |
The documentation for this struct was generated from the following files: