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