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

Inconsistency about whether dotted fields names are allowed in 3.6

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      The 3.6 docs report both

      https://docs.mongodb.com/manual/core/document/#field-names:

      The field names cannot contain the dot (.) character.

      and

      https://docs.mongodb.com/manual/reference/limits/#Restrictions-on-Field-Names

      Field names can contain dots (i.e. .) and dollar signs (i.e. $).

      The former should be the same as the latter, including the latter's additional explanation:

      Although valid, avoid using . or $ in field names since querying on such fields is not yet functional. See SERVER-30575 for more information.

      Attachments

        Activity

          People

            Unassigned Unassigned
            brian.samek@mongodb.com Brian Samek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 49 weeks, 2 days ago