Changeset [293a6c38f22edb630798aed9a2b771372f1c7f8d] by Joshua Paine
Revision 293a6c38f22edb630798aed9a2b771372f1c7f8d,
committed by Joshua Paine
· April 27th, 2009 @ 01:54 PM
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 f326e62eafbb2fc44b4060954e0b3aedb3fc827b) http://github.com/KrisJordan/rec...