rekord
rekord copied to clipboard
Improve Collection.group
- Add a comparator expression to be allowed for the $group subcollection
- Add $key to the group unless keyless is truthy
- Add comparatorOnce flags to collection returned and subcollection which calls sort once instead of setting a comparator on the collections.