-
I'm working with big data in a command line program by But Postgres itself doesn't support more than 34464 parameters for a bound statement. So I need to chunk it and insert DB. Here is my code:
But the console throw some errors:
AND:
|
Beta Was this translation helpful? Give feedback.
Answered by
AGDholo
Oct 10, 2020
Replies: 1 comment
-
I looked up the principle of foreach and used for in instead, and now the problem is solved. There is my code:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AGDholo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I looked up the principle of foreach and used for in instead, and now the problem is solved.
There is my code: