opendoor/pggen
View on GitHub ↗ ★ 61 Go
A database first code generator focused on postgres
3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2021-09-09 · latest 2021-09-09
20082026
-
If you want a code generator like this that has support for that kind of thing, https://github.com/opendoor/pggen can automatically infer these kinds of relationships based on foreign key relationships and emit slices of pointers to…
comment by ethanpailes · 2021-09-09 · in How We Went All In on sqlc/pgx for Postgres and Go -
…tool of the same name and just open sourced it. I stumbled on your tool right after publishing https://github.com/opendoor/pggen .
comment by ethanpailes · 2021-09-09 · in How We Went All In on sqlc/pgx for Postgres and Go -
…a few more tools in this space. https://github.com/xo/xo . https://github.com/gnormal/gnorm . [1]: https://github.com/opendoor/pggen [2]: https://github.com/jschaf/pggen
comment by ethanpailes · 2021-09-09 · in How We Went All In on sqlc/pgx for Postgres and Go