Processing MongoDB collection (iteration)

Ziggizag
Ziggizag New Altair Community Member
edited November 2024 in Community Q&A
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...
Tagged:

Answers

  • jwpfau
    jwpfau
    Altair Employee
    edited April 2023
    Hi,

    Read MongoDB has a limit results advanced parameter in which you can pass limit / skip values i.e. via Macros from an outside loop.

    Greetings,
    Jonas