#include <sqlite.hh>
Public Member Functions | |
SQLite (const Path &path, SQLiteOpenMode mode=SQLiteOpenMode::Normal) | |
SQLite (const SQLite &from)=delete | |
SQLite & | operator= (const SQLite &from)=delete |
SQLite & | operator= (SQLite &&from) noexcept |
operator sqlite3 * () | |
void | isCache () |
void | exec (const std::string &stmt) |
uint64_t | getLastInsertedRowId () |
Public Attributes | |
sqlite3 * | db = 0 |
RAII wrapper to close a SQLite database automatically.
void nix::SQLite::isCache | ( | ) |
Disable synchronous mode, set truncate journal mode.