Wednesday, 27 February 2013

Convert: SQL Query To Cake::find() :: The Bakery: Everything CakePHP

? Once you have been using CakePHP for a while the ORM becomes second nature and its pretty easy to see how a query will fit into a Model::find. I normally break the SQL up into the various sections such as the fields, joins, conditions, group and limit. Once you have the various pieces they just need to be slotted into the find code.? The other problems newcomers often face is how to access th...
crawled from : Cakephp

No comments:

Post a Comment