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

Warn about insertion limits in "all about inserts" guide #64

Open
Diggsey opened this issue Jun 13, 2018 · 1 comment
Open

Warn about insertion limits in "all about inserts" guide #64

Diggsey opened this issue Jun 13, 2018 · 1 comment

Comments

@Diggsey
Copy link

Diggsey commented Jun 13, 2018

Postgres at least appears to have a limit of 65,535 rows per query, and diesel doesn't split the rows automatically, so it's up to the caller to do that.

@sgrif
Copy link
Owner

sgrif commented Jun 14, 2018

Unless you're inserting exactly one value per row, I suspect most folks will hit the bind parameter limit long before hitting any sort of row limit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants