Home »
MCQs »
MongoDB MCQs
Amongst which of the following is / are the data types of MongoDB?
31. Amongst which of the following is / are the data types of MongoDB?
- Timestamp
- Object
- Symbol
- All of the mentioned above
Answer: D) All of the mentioned above
Explanation:
The data types supported by MongoDB are timestamp, object, and symbol. The timestamp feature can be useful for keeping track of when a document has been modified or added. When embedding documents, the object data type is used, and the symbol data type is used in the same way as a string; however, it is generally reserved for languages that use a specific symbol type.