qDebug() << "Error: " << query.lastError().driverText() << "; Type: " << query.lastError().type();
throw OrmSqlException(query.lastError().text());
}
- else
- {
- /*qDebug() << "SQL OK";*/
- }
}
QList<T> objects;
{
objects << hydrate(query.record());
}
- /*qDebug() << "Fetch done";*/
return objects;
}