Implement DBQuery.shellBatchSize

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
            Reporter:
            Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: