Code Generation #334
emil14
started this conversation in
Databases/DB
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
SQL must not be written by hand (but there must be a way to do so, so underlying foundation like
db/sql
must exist). I like personally idea of "schema-first" sql-based code generations that either connects to DB or read migration files and produce source code as an output. Examples are:Also things like https://github.com/jmoiron/sqlx and could be useful as an alternative when preferred approach (code generation) is not suitable for some reason.
Beta Was this translation helpful? Give feedback.
All reactions