Skip to content

Serialize Results #257

Closed
Closed

Description

@tracker1

Related to #181, although a true pause/resume would be nice, I would be happy if the cursor could be put into a mode that only returned a single row at a time, with a next callback to fetch/return the next row when ready.

I'm trying to export/dump a several million records to a CSV with additional processing that has to happen per record, and am running out of memory (hitting node/v8's limits) before the process can complete. A simple serialization against a cursor, while less beneficial than actual stream/backpressure support, would be sufficient for my needs, and I can only guess I am not the only one that can use this.

TIA.

Activity

  1. Suraiya-Hameed commented on Jul 20, 2018

    @Suraiya-Hameed
    Member

    Done in #518.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions