

-
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
Why don't you use sqlc + pgx? What's missing from the two?
https://github.com/kyleconroy/sqlc
https://github.com/jackc/pgx
-
Why don't you use sqlc + pgx? What's missing from the two?
https://github.com/kyleconroy/sqlc
https://github.com/jackc/pgx
-
Here's an example I threw together: https://play.rust-lang.org/?version=stable&mode=debug&editio...
Hopefully that gets the gist of how you might approach it. I'm not sure I'd use the HashSet myself, to be completely honest, because it makes it needlessly complicated to get an element out of it. I'd probably just use a Vec.
-
sqlx
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite. (by launchbadge)
> Doesn't it need to run introspection queries to check the table structures?
Yes, but it can also run in 'offline' mode where it builds against saved metadata [0]
0: https://github.com/launchbadge/sqlx/blob/main/sqlx-cli/READM...
-
Please reach out on the diesel discussion forum[1] about the lacking dev experience. I'm happy to discuss these issues and potential solutions there.
[1] https://github.com/diesel-rs/diesel/discussions