Skip to content

Generate ValidColumns Slice to be used by other packages #3654

Open
@Smithx10

Description

@Smithx10

What do you want to change?

Currently, while implementing a Dynamic Query using PGX / Squirrel I find myself writing an updating a var value that contains a slice of the valid column names.

It would be nice to have a slice in sqlc that contained all the column names in it so that its easy to do "slices.Contains"

What database engines need to be changed?

No response

What programming language backends need to be changed?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions