Open dmarcelino opened 9 years ago
@dmarcelino Hello! Thank you very much for this early docs. Do you know if it is possible to combine groupBy
and count
in this way? I am doing a populate()
and need both of them. It works great with sum
and the others, but not with count
:/
My current workaround is to sum a specific extra field which always has value '1'. It works as count
but feels a bit dirty ^^'
Thanks!
I'm not sure to be honest.
My current workaround is to sum a specific extra field which always has value '1'. It works as count but feels a bit dirty ^^'
clever :wink:
I also want to know how to combine groupBy
with count
. Currently it did not support 😢
groupBy
is missing documentation. Several code examples exist in: https://github.com/balderdashy/waterline-adapter-tests/blob/master/interfaces/queryable/modifiers/groupBy.modifier.test.js which could be used as base for the docs.