Closed brianbroderick closed 2 months ago
INSERT INTO my_table (id, ...other_columns...) VALUES (nextval('?'), ?, ?, ?, ?, ?, ?, '?', ?, '?'), (nextval('?'), ?, ?, ?, ?, ?, ?, '?', ?, '?'), (nextval('?'), ?, ?, ?, ?, ?, ?, '?', ?, '?'), (nextval('?'), ?, ?, ?, ?, ?, ?, '?', ?, '?'), (nextval('?'), ?, ?, ?, ?, ?, ?, '?', ?, '?'), (nextval('?'), ?, ?, ?, ?, ?, ?, '?', ?, '?'), (nextval('?'), ?, ?, ?, ?, ?, ?, '?', ?, '?') RETURNING id;
Each row in VALUES should be squashed down to a single row.
f55ccadc0e5783d4fd4e2049a4079fc1dd551913
INSERT INTO my_table (id, ...other_columns...) VALUES (nextval('?'), ?, ?, ?, ?, ?, ?, '?', ?, '?'), (nextval('?'), ?, ?, ?, ?, ?, ?, '?', ?, '?'), (nextval('?'), ?, ?, ?, ?, ?, ?, '?', ?, '?'), (nextval('?'), ?, ?, ?, ?, ?, ?, '?', ?, '?'), (nextval('?'), ?, ?, ?, ?, ?, ?, '?', ?, '?'), (nextval('?'), ?, ?, ?, ?, ?, ?, '?', ?, '?'), (nextval('?'), ?, ?, ?, ?, ?, ?, '?', ?, '?') RETURNING id;
Each row in VALUES should be squashed down to a single row.