Show HN: I made a CLI tool to generate Rust SQLX models/queries from migrations https://ift.tt/ZEMHXd5

Show HN: I made a CLI tool to generate Rust SQLX models/queries from migrations Still very much a work in progress. But with Testcontainers I've been able to do what I always dreamed of doing with pg-embed in supporting model generation from SQL migrations. - Generate Rust structs and sqlx queries for PostgreSQL database tables or from migrations via a Postgres test container - Queries for a Model Set easily extendable with regular sqlx. - Generate SQL migrations based on changes in the structs vs a database or migration via a Postgres test container Let me know what you all think! https://ift.tt/dEuMYcr March 3, 2024 at 06:37PM

Komentar

Postingan populer dari blog ini

Show HN: Interactive exercises for GNU grep, sed and awk https://ift.tt/OxeFwah

Show HN: My Book Bulletproof TLS and PKI (Second Edition) Is Out https://ift.tt/5PZ9mxF