Explanation:By projecting results with a subset of fields, applications reduce their network overhead and processing requirements. 6. Which of the following is second argument to projection ?
A. findOne()
B. findOne1()
C. selectOne()
D. find()
Answer:A
Explanation:By projecting results with a subset of fields, applications reduce their network overhead and processing requirements. 6. Which of the following is second argument to projection ?
A. findOne() B. findOne1() C. selectOne() D. find()
Explanation:Projections are the second argument to the find() method,which specify a list of fields to return or list fields to exclude in the result documents. 7. Which of the following query selects documents in the records collection that match the condition { “user_id”: { $lt: 42 } } ?