Skip to content

$count aggregator returns array #2849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

miccarr
Copy link

@miccarr miccarr commented Mar 2, 2017

This change is Reviewable

@kay-kim
Copy link
Contributor

kay-kim commented May 21, 2019

Hi. Thank you for this pull request and apologies for the delay. We appreciate your taking the time to make this pull request.

However, I believe the $count example is correct and the aggregate method returns a cursor to the results (in the mongo shell, if the returned cursor is not assigned to a variable using the var keyword, then the cursor is automatically iterated up to 20 time).

As such, I am going to close this pull request.

Thanks once again and apologies for the delay.

Regards,

Kay Kim

@kay-kim kay-kim closed this May 21, 2019
mongo-cr-bot pushed a commit that referenced this pull request Mar 30, 2023
* DOCSP-28696 ObjectId in mongosh server updates

* DOCSP-28696 ObjectId in mongosh server updates

* DOCSP-28696 ObjectId in mongosh server updates

* DOCSP-28696 ObjectId in mongosh server updates

* DOCSP-28696 ObjectId in mongosh server updates

* DOCSP-28696 ObjectId in mongosh server updates

* DOCSP-28696 mongosh updates for server ticket

* Review feedback

* Staging fixes

* Staging fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants