implement the .count() methods to AggregationQuery #720
mrrobinhood5
started this conversation in
Feature Request
Replies: 1 comment 1 reply
-
You may just need to add another aggregation stage like {"$count":"count"}. Adding a "count" coroutine to AggregationQuery for convenience could be a valid feature request though. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use the
.count()
method when building FindMany queries. I now need to add an aggregation pipeline to a FindMany query so it makes it an AggregationQuery, but it doesn't have a .count() method.example:
Beta Was this translation helpful? Give feedback.
All reactions