Skip to content
Select theme

Talking to a database

SQLx checks your SQL at compile time against a real database, which is either the best thing about Rust’s database story or the most annoying, depending on the day.

From the connection pool to the integration test, this is the whole path — including the injection mistake everybody writes once.