qb icon indicating copy to clipboard operation
qb copied to clipboard

Please make newQuery() the norm or add nq() alias for newQuery()

Open Daemach opened this issue 3 years ago • 4 comments

I seem to type .newQuery() for every query I write. It would be lovely if newQuery() was the norm, so one could skip that, and maybe add useExisting() for those rare instances when you don't want a new query. A switch in qb module settings that let one choose one mode over the other might make this feasible...

That being said, even though replace-in-files .newquery() with '', (possibly preceded by qb.from => qb.useExisting().from), wouldn't take long, it's quite a change. Maybe an alias would be helpful just to save keystrokes?

I appreciate your work as always!

Daemach avatar Jul 29 '21 15:07 Daemach