Thursday, 27 April 2017

How to find cursor ID for getMore in MongoDB

(Using node js mongo driver)

I want to iterate through an entire (huge) MongoDB collection using the getMore method to fetch batches of documents, getMore requires the 'cursor id'.

How can I find the 'cursor id' of my cursor?



via phelm

No comments:

Post a Comment