Explanation:Capped collections guarantee preservation of the insertion order. 6. If you perform a ________ on a capped collection with no ordering specified, MongoDB guarantees that the ordering of results is the same as the insertion order.
A. find()
B. write()
C. modify()
D. None of the mentioned
Answer:A
Explanation:Capped collections guarantee preservation of the insertion order. 6. If you perform a ________ on a capped collection with no ordering specified, MongoDB guarantees that the ordering of results is the same as the insertion order.
A. find() B. write() C. modify() D. None of the mentioned
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 ?