Skip to content

Formatting rows for copy_to_table? #712

Closed
@robhaswell

Description

@robhaswell
  • asyncpg version: 0.22.0

Does asyncpg contain any code that would format tuples suitable for consumption in copy_to_table? I can see that copy_records_to_table should somehow format the tuples into the COPY FROM format but I can't see where this happens.

My use-case is that I am trying to use COPY FROM with an async iterator.

Thanks.

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