fix error in sql-query

This commit is contained in:
einhornimmond 2021-01-13 12:23:55 +01:00 committed by Ulf Gebhardt
parent 98a3d7f9cd
commit 3279ca6f20
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -124,7 +124,7 @@ namespace model {
size_t count = 0;
select
<< "SELECT count(id) from " << getTableName()
<< " where " << fieldName << " LIKE ? group by id"
<< " where " << fieldName << " LIKE ? group by group_id"
,Poco::Data::Keywords::into(count)
,Poco::Data::Keywords::useRef(fieldValue);