How can generate only models ? #2608
Answered
by
andrewmbenton
wildwind123
asked this question in
Q&A
-
Hello. I want to use this soft for generate only models. How can i achieve it ? |
Beta Was this translation helpful? Give feedback.
Answered by
andrewmbenton
Aug 18, 2023
Replies: 1 comment
-
I suppose the easiest way would be to put a dummy query (like There is no configuration option currently to have |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
andrewmbenton
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I suppose the easiest way would be to put a dummy query (like
SELECT true;
) in your query file and then just ignore or discard the contents ofqueries.sql.go
.There is no configuration option currently to have
sqlc
only generate models.