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 "copyfrom"(bulk insert) in sqlc-gen-typescript? #48

Open
kuronekomichael opened this issue Dec 15, 2024 · 0 comments
Open

Support "copyfrom"(bulk insert) in sqlc-gen-typescript? #48

kuronekomichael opened this issue Dec 15, 2024 · 0 comments

Comments

@kuronekomichael
Copy link

Hello,
I am trying to use COPY FROM in a SQL query with sqlc-gen-typescript, but I encountered the following error during code generation:

:copyfrom doesn't support non-parameter values

I understand that sqlc might not fully support COPY FROM, but I would like to confirm:
1. Is COPY FROM currently supported in sqlc-gen-typescript?
2. If not, are there any plans to support this in the future?

This feature would be very helpful for bulk insert operations in my use case. If there are any workarounds or alternatives, I’d appreciate your advice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant