(no title)
0atman | 2 years ago
Making queries like this checks the sql is valid at compile time by connecting to the real database and running it with demo data inside a rolled-back transaction!
(If you'll forgive the self promo, I explained it better in this video https://youtu.be/pocWrUj68tU)
Rust's macro system allows you to program the compiler with each new program, and sqlx is my favourite example of this.
No comments yet.