Revision c2f6d5a8
Von Christian Ehringfeld vor mehr als 6 Jahren hinzugefügt
src/entitymanager.cpp | ||
---|---|---|
bool rc = true;
|
||
if (entity && !mergedObjects.contains(entity.data())) {
|
||
mergedObjects.append(entity.data());
|
||
if (this->checkTable(entity) && (!validate || this->validate(entity))
|
||
&& (!checkDuplicate || this->count(entity) <= 0)) {
|
||
if (this->checkTable(entity) && (!validate || this->validate(entity))) {
|
||
if(checkDuplicate && this->count(entity) > 0) {
|
||
return false;
|
||
}
|
||
if (persistRelations) {
|
||
this->savePrePersistedRelations(entity, mergedObjects,
|
||
relationsIgnoreHasChanged);
|
Auch abrufbar als: Unified diff
fix