Where is the cursor?

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 2.4.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi everybody,
      I have a collections with over 30K documents. I want to iterate over the collection because I have to make operations on every document. By calling all() MongoID tries to load all 30K documents into the memory. In Java I would just fetch the iterator/cursor and iterate with a "while construct" through the collection. How can I get the iterator/cursor with MongoID? I couldn't find anything in the documentation to "cursors".
      Thanks.

              Assignee:
              Unassigned
              Reporter:
              Robert Reiz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: