inserts / updates using posgresql when the column itself is an array #3798
Unanswered
enricoschaaf
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi 👋🏽
I tried to follow this recommendation https://github.com/launchbadge/sqlx/blob/main/FAQ.md#how-can-i-bind-an-array-to-a-values-clause-how-can-i-do-bulk-inserts. But since I have multiple columns of this int[] or text[] this does not work since unnest expands the whole array recursively it seems. Do you know if there is a way to still use this approach?
Beta Was this translation helpful? Give feedback.
All reactions