Could the schemas be extracted from the running database without providing schema *.sql
files?
#3224
Unanswered
Nikola-Milovic
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it be possible to drop
schema
from the configuration when usingdatabase.uri
? Can SQLC get it's types directly from the database rather than the*.sql
schemas?This would allow using different types of ORM's and stuff like
atlasgo
, since some of them define schemas in code,.hcl
files and such. It would also make the actual database schema be the only source of truth.Thoughts on this, is this something feasible, desirable?
Beta Was this translation helpful? Give feedback.
All reactions