Stack Gems
Menu
← Catalog

SQLx

Compile-time checked SQL for Rust

Rust / Systems · OSS/MIT · 17.4k

What's Good

Queries checked against the actual database schema. Async from the ground up. No ORM overhead—just SQL. Supports Postgres, MySQL, and SQLite.

The Catch

Compile-time checking requires database connection. Migration story is simpler than some alternatives. Complex queries need understanding.

Verdict

SQL that the compiler actually checks.

Embed

Reviewed on Stack Gems
[![Reviewed on Stack Gems](https://stackgems.com/badge/sqlx.svg)](https://stackgems.com/gems/sqlx)

Related

Rust