mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-04-05 18:09:04 +00:00
cleanup
This commit is contained in:
@@ -39,8 +39,14 @@ public:
|
||||
/// @brief Closes the SQLite connection if initialized.
|
||||
~SqliteDatabase();
|
||||
|
||||
/// @brief Opens the in-memory database and creates schema objects.
|
||||
void Initialize();
|
||||
/// @brief Opens the SQLite database at dbPath and creates schema objects.
|
||||
void Initialize(const std::string &dbPath = ":memory:");
|
||||
|
||||
/// @brief Starts a database transaction for batched writes.
|
||||
void BeginTransaction();
|
||||
|
||||
/// @brief Commits the active database transaction.
|
||||
void CommitTransaction();
|
||||
|
||||
/// @brief Inserts a country row.
|
||||
void InsertCountry(int id, const std::string &name, const std::string &iso2,
|
||||
|
||||
Reference in New Issue
Block a user