Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-267

Streamline limit / batchSize

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.92.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Major Change

      Limit isn't sanely handled at the moment.

      • limit get's mapped to n_return, but it isn't quite
      • batch_size get's used in some places, limit in others
      • there's no way to pass batch_size via _find()

      We should clean up our handling across the board by either exposing both parameters or directly exposing the wire protocol semantics for numberToReturn

            Assignee:
            christian.hergert@10gen.com Christian Hergert
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: