Home / CSE MCQs / MongoDB MCQs :: Discussion

Discussion :: MongoDB MCQs

  1. Which of the following should is used to check whether collection is capped or not ?
  2. A.
    isCAP()
    B.
    isCapped()
    C.
    isColl()
    D.
    None of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Use the isCapped() method to determine if a collection is capped, as: db.collection.isCapped().


Be The First To Comment