The #sqlx crate's compile-time checking of #SQL is really nice. Errors in my SQL even show up in my IDE! #Rust is definitely my favorite language for #database #programming because of that. I'm not aware of any other programming language with such a feature.
@argv_minus_one with sqlpp11, you can do that in C++, too

@argv_minus_one
#ABAP does have this for like 30+ years i believe, but besides that, i never encountered another language.

#sqlx #SQL #Rust #database #programming

@argv_minus_one This isn't exactly the same, but Gleam has `squirrel`, which is an interesting take on the situation:

https://github.com/giacomocavalieri/squirrel

GitHub - giacomocavalieri/squirrel: 🐿️ Type safe SQL in Gleam

🐿️ Type safe SQL in Gleam. Contribute to giacomocavalieri/squirrel development by creating an account on GitHub.

GitHub
Compile SQL to type-safe code

Compile SQL to type-safe code

sqlc.dev