- Notifications
You must be signed in to change notification settings - Fork 978
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
I have the following sqlc.yaml file in my project:
version: "1"packages: - path: dbemit_prepared_queries: trueschema: sql/schema.sqlqueries: sql/query.sqloverrides: - column: "organizations.id"go_type: "github.com/segmentio/ksuid.KSUID" - column: "projects.id"go_type: "github.com/segmentio/ksuid.KSUID" - column: "projects.organization_id"go_type: "github.com/segmentio/ksuid.KSUID"It would be really nice If I could the following two lines to override all columns named id and all columns ending in _id.
version: "1"packages: - path: dbemit_prepared_queries: trueschema: sql/schema.sqlqueries: sql/query.sqloverrides: - column: "id"go_type: "github.com/segmentio/ksuid.KSUID" - column: "*_id"go_type: "github.com/segmentio/ksuid.KSUID"Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request