Computer Science, asked by kanchandevichairman, 6 months ago

how can you a cursor in a document? mention two methods.​

Answers

Answered by kavinsiddhu758
0

Answer:

Modifies the cursor to return the number of documents in the result set rather than the documents themselves. cursor.explain() Reports on the query execution plan for a cursor. cursor.forEach() Applies a JavaScript function for every document in a cursor. cursor.hasNext() Returns true if the cursor has documents and can be iterated.

MARK ME AS BRAINLIEST !!

Similar questions