Feild name null values

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      According to Feild name restrictions , null are not allowed but how come the below values are inserted, you can also validate this

      > db.test.find();
      { "_id" : ObjectId("5824191e99ec5f9dcc61710b"), "null" : 1 }
      { "_id" : ObjectId("5824193599ec5f9dcc61710c"), " " : 1 }
      { "_id" : ObjectId("5824194c99ec5f9dcc61710d"), " " : 1 }
      

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

            Assignee:
            Unassigned
            Reporter:
            guru rajan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: