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

Redundant advice against mixing types among a collection's field values

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • Server_Docs_20231030
    • v1.0
    • manual
    • None

    Description

      See: http://docs.mongodb.org/manual/faq/developers/#what-is-the-compare-order-for-bson-types

      Warning: Mixing types for the same field is not encouraged.

      And shortly after:

      Warning: Storing values of the different types in the same field in a collection is strongly discouraged.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 18 weeks, 5 days ago