Stream archive: Bulk inserting using transactions with SQLx (2023-10-02)
We figure out how to implement bulk inserts using a transaction with SQLx.
Links
How to use a transaction as the executor in sqlx: [https://github.com/launchbadge/sqlx/issues/2606](https://github.com/launchbadge/sqlx/issues/2606)
Brooks Builds Axum course (not live yet): [https://learning.brooksbuilds.com/courses/3/access/10](https://learning.brooksbuilds.com/courses/3/access/10)
Postgres documentations on transactions: [https://www.postgresql.org/docs/current/tutorial-transactions.html](https://www.postgresql.org/docs/current/tutorial-transactions.html)
Postgres documentation on rollback: [https://www.postgresql.org/docs/16/sql-rollback.html](https://www.postgresql.org/docs/16/sql-rollback.html)
Postgres documentation on begin: [https://www.postgresql.org/docs/16/sql-begin.html](https://www.postgresql.org/docs/16/sql-begin.html)
Crust of Rust YouTube playlist (deep dive videos!): [https://www.youtube.com/playlist?list=PLqbS7AVVErFiWDOAVrPt7aYmnuuOLYvOa](https://www.youtube.com/playlist?list=PLqbS7AVVErFiWDOAVrPt7aYmnuuOLYvOa)
What the heck is the event loop anyways?: [https://www.youtube.com/watch?app=desktop&v=8aGhZQkoFbQ](https://www.youtube.com/watch?app=desktop&v=8aGhZQkoFbQ)
Reactor pattern: [https://en.wikipedia.org/wiki/Reactor_pattern](https://en.wikipedia.org/wiki/Reactor_pattern)
Tokio tutorial: [https://tokio.rs/tokio/tutorial](https://tokio.rs/tokio/tutorial) -- Watch live at https://www.twitch.tv/brookzerker