lapis icon indicating copy to clipboard operation
lapis copied to clipboard

add select_all function

Open dant4z opened this issue 9 years ago • 2 comments

I tried to create universal select function with grouping, ordering and where conditionning

dant4z avatar Oct 15 '14 12:10 dant4z

Thanks for the patch. I'm thinking this functionality should be part of Model\select.

Currently select takes a string as a first argument and interpolates that as a query. I think a good API would be to let it also take a table that follows the rules you created here.

leafo avatar Oct 18 '14 17:10 leafo

Bump. I would benefit greatly from this functionality being added into Model\select.

lordnynex avatar Oct 18 '14 21:10 lordnynex

Closing outdated pull request. Going forward I recommend using db.clause inside of query interpolation.

leafo avatar Dec 14 '22 22:12 leafo