Skip to content

Return IO object for LocalResult#buf #2

@nelson-vantage

Description

@nelson-vantage

The golang bindings imply that we can return a IO object backed by a byte array for LocalResult#buf, which means that we avoid loading the entire result into a single in-memory string. This also allows us to iterate over the results one row at a time, which can be much more efficient than needing to parse a single string as CSV or JSON in one go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions