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

Manual: Clarify that nesting depth counts both objects and arrays

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 4.2.0, 4.4.0, 5.0.0, 5.3.0, 6.0.0
    • manual, Server
    • None

    Description

      https://www.mongodb.com/docs/manual/reference/limits/#mongodb-limit-Nested-Depth-for-BSON-Documents

      As currently worded it seems to imply that there is no limit for array nesting. The intention is to count each layer of arrays and objects as part of a combined depth. CodeWithScope also pushes 2 layers, although I doubt it is worth mentioning that since it is an obscure and deprecated type.

      Attachments

        Activity

          People

            jason.price@mongodb.com Jason Price
            mathias@mongodb.com Mathias Stearn
            Jess Mokrzecki Jess Mokrzecki
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 21 weeks, 1 day ago