Stream archive: Recording lesson for SQLx and investigating bulk inserts (2023-09-29)
We record the video for the SQLx CRUD lesson and look into bulk inserts. They aren't fun, but at least one is "easy".
#rust #sqlx #tutorial
Links
Phind chat about bulk inserting into Postgres: [https://www.phind.com/agent?cache=cln5dqd4x000umr07d5bg3svd](https://www.phind.com/agent?cache=cln5dqd4x000umr07d5bg3svd)
COPY command for Postgres: [https://www.postgresql.org/docs/16/populate.html#POPULATE-COPY-FROM](https://www.postgresql.org/docs/16/populate.html#POPULATE-COPY-FROM)
SQLx Bulk Inserts: [https://github.com/launchbadge/sqlx/blob/main/FAQ.md#how-can-i-bind-an-array-to-a-values-clause-how-can-i-do-bulk-inserts](https://github.com/launchbadge/sqlx/blob/main/FAQ.md#how-can-i-bind-an-array-to-a-values-clause-how-can-i-do-bulk-inserts)
SQLx Query Builder: [https://docs.rs/sqlx/0.7.2/sqlx/struct.QueryBuilder.html](https://docs.rs/sqlx/0.7.2/sqlx/struct.QueryBuilder.html) -- Watch live at https://www.twitch.tv/brookzerker