Explanation:MongoDB provides a db.collection.findOne() method as a special case of find() that returns a single document. 5. Point out the wrong statement :
A. sort() modifier sorts the results by age in ascending order
B. Queries in MongoDB return all fields in all matching documents by default
C. To scale the amount of data that MongoDB sends to applications, include a projection in the queries.
D. None of the mentioned
Answer:A
Explanation:MongoDB provides a db.collection.findOne() method as a special case of find() that returns a single document. 5. Point out the wrong statement :
A. sort() modifier sorts the results by age in ascending order B. Queries in MongoDB return all fields in all matching documents by default C. To scale the amount of data that MongoDB sends to applications, include a projection in the queries. D. None of the mentioned
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 ?