Explanation:The toArray() method returns an array that contains all the documents from a cursor. 7. The mongo shell and the drivers provide several cursor methods that call on the cursor returned by the _______ method to modify its behavior.
A. cursor()
B. find()
C. findc()
D. None of the mentioned
Answer:A
Explanation:The toArray() method returns an array that contains all the documents from a cursor. 7. The mongo shell and the drivers provide several cursor methods that call on the cursor returned by the _______ method to modify its behavior.
A. cursor() B. find() C. findc() D. None of the mentioned
Explanation:The method iterates completely the cursor, loading all the documents. 8. Which of the following method corresponds to Order by clause in SQL ?