Revision 8306a974
Von Christian Ehringfeld vor fast 9 Jahren hinzugefügt
src/querybuilder.cpp | ||
---|---|---|
return this->createOrMerge(entity, true);
|
||
}
|
||
|
||
QSqlQuery QueryBuilder::removeAll(const QString &tableName) const {
|
||
return this->database.data()->getQuery(this->truncateTable(tableName));
|
||
}
|
||
|
||
QSqlQuery QueryBuilder::insert(const QString &tableName,
|
||
QHash<QString, QVariant> &attributes, const QString &primaryKey) const {
|
||
attributes.remove(primaryKey);
|
Auch abrufbar als: Unified diff
...