Revision 44fed106
Von Christian Ehringfeld vor mehr als 10 Jahren hinzugefügt
| src/entitymanager.h | ||
|---|---|---|
|
if (ptr) {
|
||
|
auto maps = this->findAll(ptr);
|
||
|
auto converted = this->convert(maps, EntityHelper::getClassname(ptr.data()),
|
||
|
false,
|
||
|
resolveRelations);
|
||
|
return this->convertList<T>(converted);
|
||
|
}
|
||
| ... | ... | |
|
query.setOffset(offset);
|
||
|
QSqlQuery q = this->queryInterpreter->build(query);
|
||
|
auto results = this->convertQueryResult(q);
|
||
|
auto list = this->convert(results, EntityHelper::getClassname(e.data()),
|
||
|
auto list = this->convert(results, EntityHelper::getClassname(e.data()), false,
|
||
|
resolveRelations);
|
||
|
return this->convertList<T>(list);
|
||
|
}
|
||
Auch abrufbar als: Unified diff
fix