We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe. Bulk updates are significantly faster using COPY instead of single sql queries.
Describe the solution you'd like
const { stream } = pg.query(` COPY my_table (col1, col2, etc) FROM STDIN WITH CSV`, { stream: true }) createReadStream('./data.csv').on('data', $=>stream.write($)).on('close', ()=>stream.close())
Describe alternatives you've considered
psql
Additional context https://www.citusdata.com/blog/2017/11/08/faster-bulk-loading-in-postgresql-with-copy/
The text was updated successfully, but these errors were encountered:
Hi Brian, thank you for your feedback. COPY operation is not implemented yet. I am marking this issue as a feature request.
Sorry, something went wrong.
chore: Move CI from circleci to GitHub Actions #11
a758c38
No branches or pull requests
Is your feature request related to a problem? Please describe.
Bulk updates are significantly faster using COPY instead of single sql queries.
Describe the solution you'd like
Describe alternatives you've considered
psql
from shell or another library/languageAdditional context
https://www.citusdata.com/blog/2017/11/08/faster-bulk-loading-in-postgresql-with-copy/
The text was updated successfully, but these errors were encountered: