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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual, Server
    • 0.25

    Description

      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"}

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 14 weeks, 5 days ago