SQLx is perhaps my favorite Rust crate for interfacing with Postgres, my favorite relational database. It provides a number of features and support that I haven't been able to find in an asynchronous framework.
In this video, I take a look at the basic usage and also some of the more advanced features that are available with feature flags.
This should provide a decent tutorial for anyone who is looking for a database driver for their Rust project.
Source code: https://github.com/dreamsofcode-io/ru...
Become a better developer in 4 minutes: https://bit.ly/45C7a29 👈
My socials:
Twitter: / dreamsofcode_io
Discord Server: / discord
#rust #postgresql #coding #tutorial #tokio
00:00 Intro
00:10 Getting started
02:10 Migrations
03:34 Writing data
04:46 Reading Data
06:46 Transactions
07:36 Feature Flags
09:05 Notifications
09:24 Outro
Смотрите видео SQLx is my favorite PostgreSQL driver to use with Rust. онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Dreams of Code 05 Март 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 55,083 раз и оно понравилось 1.9 тысяч людям.