Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-95935

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

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 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 

            Assignee:
            jess.balint@mongodb.com Jess Balint
            Reporter:
            william.qian@mongodb.com William Qian
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: