4 ms·
AFAIK diesel is not async. On top of that, I'm pretty sure you can find a query that you won't be able to perform with diesel DSL (some obscure PostgreSQL synta
by skwee357 2y ago
AFAIK diesel is not async. On top of that, I'm pretty sure you can find a query that you won't be able to perform with diesel DSL (some obscure PostgreSQL syntax). What I like about sqlx is that it's just pure SQL.
- throwaway0665 2y agodiesel-async adds an AsyncConnection that can be used with diesel. You can also do raw queries quite easily if you need to.
- Klonoar 2y agodiesel-async works fine for almost all use-cases, it just layers over standard diesel calls via importing an async `RunQueryDsl` trait. I almost never think about it.
- brigadier132 2y agoSQL is good, writing SQL using strings is not good.