RavenDB using filter with group by
问题 I have a Transaction entity. I can make group by by (CustomerCode, CustomerName) then select CustomerCode and Total(Amount). It is easy. But When I Want to filter AtCreated. I have An Error. Unhandled exception. Raven.Client.Exceptions.InvalidQueryException: Raven.Client.Exceptions.InvalidQueryException: Field 'AtCreated' isn't neither an aggregation operation nor part of the group by key Query: from Transactions group by CustomerCode, CustomerName where AtCreated >= $p0 select CustomerCode,