C++ client's cursor should avoid magic numbers for indicating whether to call getMore

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 

              Assignee:
              Jess Balint
              Reporter:
              William Qian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: