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

How can you query for a field with spaces in its name?

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual, Server
    • Labels:
    • Environment:
    • 0.25

      Tried to find a statement on blank characters (or other white space) anywhere in field names - didn't find any.

      E.g. should I be able to insert or query a document like this?

      { "first name" : "Mickey", "last name " : "Mouse"}

            Assignee:
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Reporter:
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 25 weeks ago