You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible, within the sqlc config, to reference a column that is not present on a database table but that's returned by a statement?
I have a handful of go enums that are not an Enum type in my Postgres DB, in my example below how can I override the type for GoEnumValue with a package type?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is it possible, within the sqlc config, to reference a column that is not present on a database table but that's returned by a statement?
I have a handful of go enums that are not an Enum type in my Postgres DB, in my example below how can I override the type for
GoEnumValue
with a package type?sqlc playground example
Beta Was this translation helpful? Give feedback.
All reactions