SQLx in 12 minutes - Rust + Actix Web + PostgreSQL (2022)
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)“
-~-~~-~~~-~~-~-
1 view
786
285
2 years ago 00:13:29 1
SQLx in 12 minutes - Rust + Actix Web + PostgreSQL (2022)
4 years ago 00:04:01 1
[REST API на Golang #5] Подключение к БД из приложения. Переменные окружения. Библиотека sqlx