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

Slices missing InsertAll() #40

Closed
kris-runzer opened this issue Sep 20, 2016 · 1 comment
Closed

Slices missing InsertAll() #40

kris-runzer opened this issue Sep 20, 2016 · 1 comment

Comments

@kris-runzer
Copy link

Generated slices are missing InsertAll(); it would be nice to be able to do multiple row inserts:

INSERT INTO x(col1, col2) VALUES
("a1", "a2"),
("b1", "b2"),
...

Not sure how that will work for the maximum query size settings for each database. Should probably have a UpsertAll() as well?

@aarondl
Copy link
Member

aarondl commented Sep 21, 2016

Unfortunately can't implement this. MySQL doesn't allow us to retrieve any data from a multiple-insert.

@aarondl aarondl closed this as completed Sep 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants