Myvideo

Guest

Login

SQLx in 12 minutes - Rust + Actix Web + PostgreSQL (2022)

Uploaded By: Myvideo
1 view
0
0 votes
0

In this video you'll learn how to setup data persistence in an Actix Web API in Rust using SQLx to connect to a PostgreSQL Database. SQLx is a fantastic alternative to Diesel. It requires less boilerplate than Diesel and is super simple to implement. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ You can support my endeavors through: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Complete code found here: Music by 00:00 Introduction 01:00 Pool Creation 03:25 GET /users 07:40 GET /users/{id}/articles 09:26 POST /users/{id}/articles 11:52 Test Run 13:07 Thank you -~-~~-~~~-~~-~- Please watch: “Box / Rc / Arc / Mutex - Smart Pointers Simplified - Rust (2022)“ -~-~~-~~~-~~-~-

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later