mirror of
https://github.com/QuasarApp/Heart.git
synced 2025-04-27 10:14:36 +00:00
allow remove all data from tables
This commit is contained in:
parent
d0218b040d
commit
58bec05dcc
@ -277,10 +277,11 @@ PrepareResult DBObject::prepareRemoveQuery(QSqlQuery &q) const {
|
||||
return PrepareResult::Success;
|
||||
}
|
||||
|
||||
QuasarAppUtils::Params::log("This object doues not have condition for remove." + toString(),
|
||||
QuasarAppUtils::Error);
|
||||
if (!q.prepare(queryString)) {
|
||||
return PrepareResult::Fail;
|
||||
}
|
||||
|
||||
return PrepareResult::Fail;
|
||||
return PrepareResult::Success;
|
||||
}
|
||||
|
||||
DBVariantMap DBObject::variantMap() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user