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

Changing batch_size on a cursor

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

      Most (all?) drivers support a way to modify the batch_size of a cursor after its creation.

      I propose to add two new functions:

      uint32_t mongoc_cursor_get_batch_size (const mongoc_cursor_t *cursor)
      

      and

      void mongoc_cursor_set_batch_size (mongoc_cursor_t *cursor, uint32_t batch_size)
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: