Would bulk inserts (CSV,JSON) via a file upload through the API be useful to you? #153
thadguidry
started this conversation in
Polls
Replies: 2 comments 1 reply
-
Someone voted yes on this one 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yep, +1 from me. I have use cases that i want to use curl to make a GET request to an API endpoint, get the json data and pipe it to db2rest API endpoint with a POST request to make bulk inserts to a db table. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Essentially this would act like a
COPY FROM
.Ref: https://www.postgresql.org/docs/16/sql-copy.html
Here's a bit from the reference, but please consult it for available parameters.
2 votes ·
Beta Was this translation helpful? Give feedback.
All reactions