Войти
  • 76991Просмотров
  • 2 года назадОпубликованоDreams of Code

SQLx is my favorite PostgreSQL driver to use with Rust.

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: Become a better developer in 4 minutes: 👈 My socials: Twitter: Discord Server: #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