Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
keep Recess from prepending table name to order by clause when doing …
…something like $model->all()->orderBy('rand()') Right now only works right for functions with no column name arguments, which is probably only rand(). Full implementation would parse out column names in function args and handle prepending on them. But it might be ok to let people do their own darn prepending in that case. Signed-off-by: Kris Jordan <krisjordan@gmail.com>(cherry picked from commit f326e62)
- Loading branch information