Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate ValidColumns Slice to be used by other packages #3654

Open
Smithx10 opened this issue Oct 14, 2024 · 0 comments
Open

Generate ValidColumns Slice to be used by other packages #3654

Smithx10 opened this issue Oct 14, 2024 · 0 comments
Labels
📚 postgresql enhancement New feature or request

Comments

@Smithx10
Copy link

Smithx10 commented Oct 14, 2024

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 Smithx10 added the enhancement New feature or request label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 postgresql enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant