Explanation:Documents within a collection can have different fields. 3. Which of the following method returns a cursor ?
A. find
B. sort
C. skip
D. All of the mentioned
Answer:A
Explanation:Documents within a collection can have different fields. 3. Which of the following method returns a cursor ?
A. find B. sort C. skip D. All of the mentioned
Explanation:The find() method returns a cursor. To iterate the cursor and return more documents, type it in the mongo shell. 4. Which of the following function is valid for creation of new data inside MongoDB Shell ?