SQLx

Website
An async, pure Rust SQL crate that provides compile-time checked queries without a DSL.
Welcome to the Galaxy, Guardian!
Oops! Something went wrong while submitting the form.

What is SQLx?

An async, pure Rust SQL crate that provides compile-time checked queries without a DSL. Asynchronous database operations with compile-time query validation

SQLx Use Cases

Asynchronous database operations with compile-time query validation

Pros of Using SQLx to Query SQL

Compile-time SQL query validation | Supports multiple databases | Fully asynchronous

Cons of Using SQLx to Query SQL

Verbose API for complex queries | Requires Rust nightly for some features

How to Install the SQLx library


See documentation

Check out other libraries you can use to write SQL in Rust

Optimize your SQLx queries with Galaxy's context-aware AI copilot and modern SQL editor features.

Welcome to the Galaxy, Guardian!
Oops! Something went wrong while submitting the form.
Trusted by top engineers on high-velocity teams
Aryeo Logo
Assort Health
Curri
Rubie
BauHealth Logo
Truvideo Logo