-
Type: Task
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
In C++, the cursor returns a magic ID value of 0 if there are no further results. The client should handle this more gracefully and hide the implementation detail of the sentinel value behind the API.
See GitHub comment chain for how this came up in conversation. CC jess.balint@mongodb.com samuel.mercier@mongodb.com