![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <sqlite.hh>
Public Types | |
| using | Settings = SQLiteSettings |
Public Member Functions | |
| SQLite (const std::filesystem::path &path, Settings &&settings) | |
| 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.