Explanation:To retrieve documents in reverse insertion order, issue find() along with the sort() method with the $natural parameter set to -1 7. Which of the following should is used to check whether collection is capped or not ?
A. isCAP()
B. isCapped()
C. isColl()
D. None of the mentioned
Answer:A
Explanation:To retrieve documents in reverse insertion order, issue find() along with the sort() method with the $natural parameter set to -1 7. Which of the following should is used to check whether collection is capped or not ?
A. isCAP() B. isCapped() C. isColl() D. None of the mentioned
Explanation:Use the isCapped() method to determine if a collection is capped, as: db.collection.isCapped(). 8. ___________ convert a non-capped collection to a capped collection .