Skip to content

Exclude columns from sqlc.embed #4173

@Couper4

Description

@Couper4

Is there a way to exclude columns from sqlc.embed(my_table)?

It would be useful to avoid reading from specific columns (e.g. columns you need to drop, and you want to stop reading before actually dropping them), without loosing the nice generated struct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions