$dynamic with multiple groupBy statements
Is there a way to do this?
It seems that using more than one is overwriting the previous one.
Example:
3 Replies
Yeah, that's correct behavior. The drizzle way of achieving this, is composing your groupBy before, and then passing it to the query
This functional approach will not work
Probably hacky, but I just did
at the end of the code with the array being pushed whenever I include something.
It would be a nice feature if it just automatically kept track of them though when it's dynamic.
Not hacky, this is the drizzle way