Cursors returned from aggregation only supports cursor methods like :
A. cursor.hasNext()
B. cursor.Next()
C. cursor.has()
D. All of the mentioned
Answer:A
Cursors returned from aggregation only supports cursor methods like :
A. cursor.hasNext() B. cursor.Next() C. cursor.has() D. All of the mentioned
Explanation: cursor.hasNext() returns true if the cursor returned by the db.collection.find() query can iterate further to return more documents. 5. Point out the wrong statement :