-
Notifications
You must be signed in to change notification settings - Fork 923
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.
All reactions
Answered by
andrewmbenton
Aug 18, 2023
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 of queries.sql.go
.
There is no configuration option currently to have sqlc
only generate models.
Replies: 1 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 of queries.sql.go
.
There is no configuration option currently to have sqlc
only generate models.
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Answer selected by
andrewmbenton
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment