Replies: 3 comments
-
There may be other ways, but perhaps an override would work: https://docs.sqlc.dev/en/stable/reference/config.html?highlight=override#overrides Adding the following to your
|
Beta Was this translation helpful? Give feedback.
-
I'm running into a use case for this as well, I had a parameter
To allow compilation, I have to make them both nullable through use of It seems like maybe we need three functions
|
Beta Was this translation helpful? Give feedback.
-
Actually on second thought, |
Beta Was this translation helpful? Give feedback.
-
Hello!
I have a query like this playground link:
This currently generates the following return type for the
GetAuthor
method:Since I'm filtering for
bio IS NOT NULL
, is there any way to get sqlc to makeBio
just be astring
?Beta Was this translation helpful? Give feedback.
All reactions