1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-21 13:38:56 +02:00

Counting on specific column

This commit is contained in:
Harshil Sharma 2023-03-09 11:20:32 +05:30
parent 761eaa759b
commit e59b61937f

View File

@ -853,7 +853,7 @@ func (s *SQLStore) doesDuplicateCategoryBoardsExist() (bool, error) {
Having("count(*) > 1")
query := s.getQueryBuilder(s.db).
Select("COUNT(*)").
Select("COUNT(user_id)").
FromSelect(subQuery, "duplicate_dataset")
row := query.QueryRow()