Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-26975

Feild name null values

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None
    • ALL

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            guruskec@gmail.com guru rajan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: