Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13796

Document cursor.batchSize on listCollections and listIndexes

    XMLWordPrintableJSON

Details

    Description

      Description

      listCollections and listIndexes accept a "cursor" document, which can contain a "batchSize" fields; this is not documented on https://docs.mongodb.com/manual/reference/command/listCollections/ or https://docs.mongodb.com/manual/reference/command/listIndexes/.  It is, however, documented in https://github.com/mongodb/specifications/blob/master/source/enumerate-collections.rst and https://github.com/mongodb/specifications/blob/master/source/enumerate-indexes.rst

       

      The aggregate command also accepts "cursor.batchSize", and that is documented on https://docs.mongodb.com/manual/reference/command/aggregate/.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            bartle David Bartley
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago