Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-634

Implement DBQuery.shellBatchSize

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.12.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Iteration Z, Iteration Athens
    • Needed
    • Hide

      Not sure if doc changes are necessary, but a previous change might have indicated that DBQuery.shellBatchSize (from the legacy shell) was not working in mongosh.

      That is no longer true, it works the way it did before, but it does print a deprecation message recommending to use cursor.batchSize(size) on the individual cursor.

      Show
      Not sure if doc changes are necessary, but a previous change might have indicated that DBQuery.shellBatchSize (from the legacy shell) was not working in mongosh. That is no longer true, it works the way it did before, but it does print a deprecation message recommending to use cursor.batchSize(size) on the individual cursor.

      DBQuery.shellBatchSize currently prints a deprecation message, but it actually doesn't work.

      We can keep the deprecation message specifying that this method will be removed in a future release, but we should also implement DBQuery.shellBatchSize for backward compatibility.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            maurizio.casimirri@mongodb.com Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: