Back to Browse

Rust: Diesel tutorial with Sqlite

7.2K views
Aug 14, 2020
42:51

I tried going through the diesel tutorial and I ran into an issue that prevented me from using the database they wanted me to use. Given that diesel supports multiple database backends, I decided to go through their tutorial with a different database (Sqlite). In doing so, I had to make a number of changes to make everything work. This video outlines that process. Links: - Diesel Tutorial: https://diesel.rs/guides/getting-started/ - Diesel github page: https://github.com/diesel-rs/diesel - Diesel crate: https://crates.io/crates/diesel - ORM wiki: https://en.wikipedia.org/wiki/Object-relational_mapping - Diesel docs -- SupportsReturningClause: https://docs.rs/diesel/1.4.5/diesel/backend/trait.SupportsReturningClause.html - Diesel docs -- execute: https://docs.rs/diesel/1.4.5/diesel/query_dsl/trait.RunQueryDsl.html#method.execute My social links: - Twitter: https://twitter.com/Crazcalm - IG: https://www.instagram.com/crazcalm.tech.stack/

Download

1 formats

Video Formats

360pmp475.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Rust: Diesel tutorial with Sqlite | NatokHD