Google News
logo
MongoDB - Quiz(MCQ)
Which of the following is the second argument to projection?
A)
find()
B)
findOne()
C)
findOne1()
D)
selectOne()

Correct Answer :   find()


Explanation : Projections are the second argument to the find() method, which specifies a list of fields to return or list fields to exclude in the result documents.

Advertisement