-
Notifications
You must be signed in to change notification settings - Fork 984
Open
Labels
📚 postgresql🔧 golangenhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested
Description
What do you want to change?
For example, a column video of type JSONB can be an override its type to support a "pointer type" using *:
sqlc.yaml
overrides:
- column: "mytable.video"
go_type: "*mypackage/custom.Video"
then
type mytable struct {
video *mypackage/custom.Video
}
Is there any possible way to support an "array type"? if a column videos of type JSONB will be override like this:
type mytable struct {
videos []mypackage/custom.Video
}
What database engines need to be changed?
PostgreSQL
What programming language backends need to be changed?
Go
Metadata
Metadata
Assignees
Labels
📚 postgresql🔧 golangenhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested