MongoDB Question:
Download Questions PDF

Explain are null values allowed?

MongoDB Interview Question
MongoDB Interview Question

Answer:

For members of an object, yes. You cannot add null to a database collection though as null isn't an object. You can add {}, though.

Download MongoDB Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me can I use the journaling feature to perform safe hot backups?Does an update fsync to disk immediately?