transactions

This commit is contained in:
Martin Brodbeck 2018-07-10 12:51:23 +02:00
parent af72567bf7
commit 79d96c22bc

View file

@ -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");
}