Replies: 2 comments 2 replies
-
... or is there some way to alter the templates without recompiling the library? Could be useful. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I don't use the Querier interface, but only the Queries struct. That allows me to add more files in the same directory that add more methods to the Queries struct. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While combining some custom queries with sqlc genereted ones, I have found it problematic to prevent it from overwriting the
db.go
file every time thesqlc genereate
is run. More specifically, I would like to create my ownQueries interface
, with expanded method set, and let it remain untouched, so that my own queries could use those methods. I tried to setoutput_db_file_name:""
, but that did not seem to work, Is there a nice way to do this?Beta Was this translation helpful? Give feedback.
All reactions