Revision af26a7d1
Von Sebastian Diel vor fast 9 Jahren hinzugefügt
src/entitymanager.h | ||
---|---|---|
|
||
template<class T> QList<QSharedPointer<T>> findEntitiesBySql(
|
||
const QString &sql) {
|
||
QSharedPointer<T> e = EntityInstanceFactory::createInstance<T *>();
|
||
auto e = EntityInstanceFactory::createInstance<T *>();
|
||
if (e) {
|
||
QSqlQuery q = this->schema->getDatabase()->getQuery(sql);
|
||
auto result = this->convertQueryResult(q);
|
Auch abrufbar als: Unified diff
Bug in findEntitiesBySql