Enable multi-field WHERE clause for GROUP BY SQL queries

This commit is contained in:
Ben Johnson 2022-03-01 10:28:11 -07:00
parent 28af155411
commit e69ad74532

View file

@ -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,
)