Explanation:Dynamic schema means that documents in the same collection do not need to have the same set of fields or structure, and common fields in a collection’s documents may hold different types of data. 6. Which of the following method is called while accessing documents using the array index notation ?
A. cur.toArray()
B. cursor.toArray()
C. doc.toArray()
D. All of the mentioned
Answer:A
Explanation:Dynamic schema means that documents in the same collection do not need to have the same set of fields or structure, and common fields in a collection’s documents may hold different types of data. 6. Which of the following method is called while accessing documents using the array index notation ?
A. cur.toArray() B. cursor.toArray() C. doc.toArray() D. All of the mentioned
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.