SQLx

6 engineers on Hacker News describe using SQLx first-hand: 4 endorse it, 0 regret it, 1 are mixed.

78%trust
6first-hand users
5in production
endorse 4mixed 1regret 0uses, no opinion

“I've been using sqlx + postgres very successfully with claude in the last couple of months.”

endorse · personal · kykat · 2026-03-20 · source ↗ · wrong label?

“Sqlx is great because it's not an ORM and lets you write "type checked" raw SQL.”

endorse · production · echelon · 2024-11-30 · source ↗ · wrong label?

“The closest we came so far to bridging this gap in strictly typed language like Rust is SQLx, which creates a struct based on the database types returned by a query.”

mixed · production · levkk · 2024-11-30 · source ↗ · wrong label?

“Using SQLX means that you get compile-time database schema checking, including understanding if a return field could be null”

endorse · production · adampwells · 2023-12-15 · source ↗ · wrong label?

“Sqlx is actually type checked too, which is awesome.”

endorse · production · echelon · 2022-11-17 · source ↗ · wrong label?

“we migrated from sqlx to sqlc recently to speed things up.”

neutral · production · hactually · 2021-03-25 · source ↗ · wrong label?