Check one getNext beyond batchSize for EOF so we only return a cursor if there are more results

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      If a query returns X results and the batchSize specified is exactly equal to X, we open and return a cursor since we haven't yet hit EOF. We should consider checking one getNext further so that we only open and return a cursor if a getMore will have a nonempty batch to return. We may consider only doing this for the initial request.

            Assignee:
            [DO NOT USE] Backlog - Query Integration
            Reporter:
            Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: