Changeset [293a6c38f22edb630798aed9a2b771372f1c7f8d] 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...

Committed by Joshua Paine

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Recess PHP Framework is an open source, full stack, RESTful PHP framework.

http://www.recessframework.org/