4
1
mirror of https://github.com/QuasarApp/Heart.git synced 2025-05-12 17:39:42 +00:00

fix template method signature

This commit is contained in:
Andrei Yankovich 2024-02-19 11:18:49 +01:00
parent 0422e2d0ab
commit 73a6a43a28

@ -443,7 +443,7 @@ protected:
* @endcode
*/
template<class Object>
QList<QSharedPointer<Object>> getAll(const QString& table, const QString& condition = "") {
QList<QSharedPointer<Object>> getAll(const QString& table, const QString& condition = "") const {
QH::PKG::DBObjectsRequest<Object> request(table, condition);
auto&& response = db()->getObject(request);