Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support copying table data to/from CSV files #2

Open
pbryan opened this issue Jan 19, 2024 · 0 comments
Open

Support copying table data to/from CSV files #2

pbryan opened this issue Jan 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pbryan
Copy link
Member

pbryan commented Jan 19, 2024

PostgreSQL has the COPY ... [FROM|TO] ... statement to import/export CSV data directly. This can be handy for large imports or exports of data.

  1. Provide methods on Table class to copy to and from a CSV file.

  2. Provide a codec to allow reading/writing to the CSV file in a manner that is expected with the COPY FROM/TO statement. (Ensure data types are correctly encoded for a direct COPY statement).

@pbryan pbryan added the enhancement New feature or request label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant