sgrif / diesel.rs-website

MIT License
32 stars 97 forks source link

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

Open Diggsey opened 6 years ago

Diggsey commented 6 years ago

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 commented 6 years ago

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