[SERVER-40896] Not possible to do a count with cursor.min/max? Created: 29/Apr/19  Updated: 06/Dec/22  Resolved: 29/Apr/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Ryan Keener Assignee: Backlog - Triage Team
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Triage
Participants:

 Description   

Is there a way to get a count and use cursor.min/.max/.hint? Trying to figure out the best way to calculate a 'hasMore' when using cursor paging.



 Comments   
Comment by Ryan Keener [ 30/Apr/19 ]

My apologies, I mistook the 'Question' category as a way to ask questions about mongodb that are not covered in the docs. Thank you for the links to the appropriate resources.

Comment by Eric Sedor [ 29/Apr/19 ]

The SERVER project is for bugs and feature suggestions for the MongoDB server. As this ticket does not appear to a bug, I will now close it. To discuss how best to use MongoDB for your use-case, we request that you ask our community by posting on the mongodb-user group or on Stack Overflow with the mongodb tag.

Generated at Thu Feb 08 04:56:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.