3 ms·
SQLx [1] is commonly recommended. It has the nice feature that your queries can be verified at compile time. [1]: https://github.com/launchbadge/sqlx https://g
by lwhsiao 3y ago
SQLx [1] is commonly recommended. It has the nice feature that your queries can be verified at compile time.
[1]: https://github.com/launchbadge/sqlx https://github.com/launchbadge/sqlx
- mattrighetti 3y agoThe first time I used SQLx I was completely blown away by this. It’s an incredibly useful feature that I’ve never seen before and now I’m actually spoiled by it! The only downside is that you have to install sqlx-cli and you have to run a couple of special commands to make your binary compile offline or on CI/CD where you don’t provide that database connection.