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

Add overload to select(...) #35

Open
Flamenco opened this issue Jul 29, 2018 · 1 comment
Open

Add overload to select(...) #35

Flamenco opened this issue Jul 29, 2018 · 1 comment
Milestone

Comments

@Flamenco
Copy link

Select supports these 2 syntax:

qb.select('s.id, s.title, s.artist, s.genre')

and

qb.select(['s.id', 's.title', 's.artist', 's.genre'])

but I constantly find myself doing this:

qb.select('s.id', 's.title', 's.artist', 's.genre')

Can we also allow the vararg approach?

@kylefarris kylefarris added this to the v2.1 milestone Aug 25, 2018
@kylefarris
Copy link
Owner

I could add this option but it won't be for the official v2.0.0 release. I'll add it for v2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants