Home / CSE MCQs / MongoDB MCQs :: Discussion

Discussion :: MongoDB MCQs

  1. Which of the following is second argument to projection ?
  2. A.
    findOne()
    B.
    findOne1()
    C.
    selectOne()
    D.
    find()

    View Answer

    Workspace

    Answer : Option D

    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.


Be The First To Comment