Processing MongoDB collection (iteration)

ZiggizagZiggizag MemberPosts:4Newbie
How can I process a huge MongoDB collection? Ideally, I would like the process to use a cursor and load object by object iterating through the collection rather than loading the entire collection of million objects...

Answers

  • jwpfaujwpfau Employee, MemberPosts:248RM Engineering
    edited April 17
    Hi,

    Read MongoDBhas alimit resultsadvanced parameter in which you can pass limit / skip values i.e. via Macros from an outside loop.

    Greetings,
    Jonas


Sign InorRegisterto comment.