You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We used to have Group, but that operation is so incredibly varied and complicated that we couldn't get a good API for it.
MongoKitten is currently designed with a couple of layers. The most obvious types contain the common and basic operations in a nice API, the Commands API contains anything less common you need to customise, without cluttering the main namespace. And finally you can drop down to raw MongoDB commands.
For Aggregate stages that means that you've got helpers for creating common stages such as match, with helpers for simple queries. For any 'unsupported' stages you can still create a raw AggegateBuilderStage using its initializer.
Post on Medium from 2017, as well as comments here on GitHub, indicate that there should be .group available as an aggregate builder stage?
With latest build of MongoKitten, I am receiving an error stating that AggregateBuilderStage has no member of "group" (as per example below):
Is group supported currently for aggregate stages, and if so could you please let me know the correct syntax?
Thank you for your help!
The text was updated successfully, but these errors were encountered: