node-querybuilder icon indicating copy to clipboard operation
node-querybuilder copied to clipboard

Add overload to select(...)

Open Flamenco opened this issue 7 years ago • 1 comments

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?

Flamenco avatar Jul 29 '18 17:07 Flamenco

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

kylefarris avatar Aug 25 '18 00:08 kylefarris