lapis
lapis copied to clipboard
add select_all function
I tried to create universal select function with grouping, ordering and where conditionning
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.
Bump. I would benefit greatly from this functionality being added into Model\select.
Closing outdated pull request. Going forward I recommend using db.clause
inside of query interpolation.