Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-8630

Comment on: "primer/query.txt" for Node

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: primer
    • Environment:

      The examples are great, but all use cursor.each() to iterate over the results. With a huge table this might flood your application with loads of data, because you can't stop and resume the "stream" of docs.

      I would love to see an example on how to fetch docs by smaller quantities, to enable processing, e.g. to fetch docs in 100 pieces to batch insert them into Elastic. But still iterate over all results, not just limit the result to 100 docs.

            Assignee:
            Unassigned Unassigned
            Reporter:
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              4 years, 48 weeks, 3 days ago