From e69ad74532b73419cb4bb0da71af3506d84b077e Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Tue, 1 Mar 2022 10:28:11 -0700 Subject: [PATCH] Enable multi-field WHERE clause for GROUP BY SQL queries --- sql/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/router.go b/sql/router.go index 8c6035dee..5f01579df 100644 --- a/sql/router.go +++ b/sql/router.go @@ -58,7 +58,7 @@ func newRouter() *router { groupByOptional := NewQueryMask( SelectPartField|SelectPartFields|SelectPartCountStar|SelectPartSumField, FromPartTable, - WherePartFieldCondition, // TODO: this can probably handle fields as well + WherePartFieldCondition|WherePartMultiFieldCondition, GroupByPartField|GroupByPartFields, HavingPartCondition, )