Skip to content

Return stream or iterator from query #99

Description

@pablote

Is there any kind of support for returning a stream/iterator or similar? I'm not sure what the most idiomatic thing would be for Erlang. The use case would be for when you need to return very large datasets from the DB, and being able to start processing it without loading everything on memory.

As an example, this is available in node.js for this purpose: https://www.npmjs.com/package/pg-query-stream

Thanks

Activity

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