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:
parent
761eaa759b
commit
e59b61937f
@ -853,7 +853,7 @@ func (s *SQLStore) doesDuplicateCategoryBoardsExist() (bool, error) {
|
|||||||
Having("count(*) > 1")
|
Having("count(*) > 1")
|
||||||
|
|
||||||
query := s.getQueryBuilder(s.db).
|
query := s.getQueryBuilder(s.db).
|
||||||
Select("COUNT(*)").
|
Select("COUNT(user_id)").
|
||||||
FromSelect(subQuery, "duplicate_dataset")
|
FromSelect(subQuery, "duplicate_dataset")
|
||||||
|
|
||||||
row := query.QueryRow()
|
row := query.QueryRow()
|
||||||
|
Loading…
Reference in New Issue
Block a user