Given the following sample documents in the HR collection:
{ “name” : “A.S”, “age”: 23, “hobby”: [ “soccer”, “basketball” ]}
{ “name” : “B.M”, “age”: 36, “hobby”: [ “soccer”, “baseball” ]}
{ “name” : “C.W”, “hobby”: [ “basketball”, “cycling” ]}
{ “name” : “R.S”, “age”: 30, “hobby”: [ “soccer”, “cycling”, “baseball” ]}
{ “name” : “E.M”, “age”: 25, “hobby”: [ “cycling”, “basketball” ]}
What is the output of -
- db.HR.find( { age: { $in: [ 25, 36] } }, { _id: 0} )