1.

Each data type has a corresponding number that can be used with the _______ operator to query documents by BSON type.(a) $type(b) $server(c) $agent(d) None of the mentionedI have been asked this question in a national level competition.My question is from BSON in section GridFS, BSON Datatype and Administration Concepts of MongoDB

Answer»

Correct ANSWER is (a) $type

The best I can explain: $type selects the documents where the value of the FIELD is an instance of the SPECIFIED numeric BSON type.



Discussion

No Comment Found

Related InterviewSolutions