sqlc icon indicating copy to clipboard operation
sqlc copied to clipboard

Generate ValidColumns Slice to be used by other packages

Open Smithx10 opened this issue 1 year ago • 0 comments

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

Smithx10 avatar Oct 14 '24 15:10 Smithx10