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

Deprecate the find command's singleBatch option

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution

      As part of the work done in SERVER-57461 we realized that `singleBatch` in the find command is also a legacy concept. We want to remove `singleBatch` but we can't remove `singleBatch` unless we deprecate the use of negative limit first because drivers use `singleBatch` to implement negative limit semantics,

      https://github.com/mongodb/mongo-python-driver/blob/master/pymongo/message.py#L201-L204

      After we deprecate negative limit support we can remove `singleBatch`  from the find command and elsewhere in the codebase.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            eric.cox@mongodb.com Eric Cox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: