transactions
This commit is contained in:
parent
af72567bf7
commit
79d96c22bc
1 changed files with 2 additions and 8 deletions
|
@ -20,12 +20,6 @@ void Database::exec(const std::string& sql)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Database::beginTransaction()
|
void Database::beginTransaction() { exec("BEGIN TRANSACTION"); }
|
||||||
{
|
|
||||||
exec("BEGIN TRANSACTION");
|
|
||||||
}
|
|
||||||
|
|
||||||
void Database::endTransaction()
|
void Database::endTransaction() { exec("END TRANSACTION"); }
|
||||||
{
|
|
||||||
exec("END TRANSACTION");
|
|
||||||
}
|
|
Loading…
Reference in a new issue