21 explicit SqliteDb(
const std::string& path);
47 sqlite3* db_ =
nullptr;
SQLite connection handle provider used by persistence adapters.
SqliteDb(const SqliteDb &)=delete
SqliteDb & operator=(const SqliteDb &)=delete
SqliteDb(const std::string &path)
Open a SQLite database at the given path.
~SqliteDb()
Close the database connection.
sqlite3 * sqliteHandle() const noexcept override
Get the raw SQLite handle.
sqlite3 * handle() const noexcept
Get the raw SQLite handle.