示例#1
0
文件: database.cpp 项目: Xackery/ZEQ
void Database::commitTransaction()
{
    Query query;
    prepare("COMMIT", query);
    query.commit();
}
示例#2
0
文件: database.cpp 项目: Xackery/ZEQ
void Database::beginTransaction()
{
    Query query;
    prepare("BEGIN", query);
    query.commit();
}