Revision f757e1b1
Von Christian Ehringfeld vor mehr als 9 Jahren hinzugefügt
| src/entitymanager.h | ||
|---|---|---|
|
QSharedPointer<T> findEntityByAttributes(
|
||
|
const QHash<QString, QVariant>
|
||
|
&attributes, const bool joinBaseClasses = false,
|
||
|
const bool resolveRelations = true, const bool refresh) {
|
||
|
const bool resolveRelations = true, const bool refresh=false) {
|
||
|
auto list = this->findAllEntitiesByAttributes<T>(attributes, 1, 0,
|
||
|
joinBaseClasses, resolveRelations, refresh);
|
||
|
if (list.isEmpty()) {
|
||
Auch abrufbar als: Unified diff
fix