Articles tagged with "hasMany"
SimpleResults Behavior - Re-index results from findAll()
When returning rows from a Model::findAll() call, the result array is indexed in a certain way. This behavior allows models to return their results indexed in the same way as hasMany associations, which is more concise and (in certain circumstances) easier to parse / pass to other functions.
[Read more]
Latest Comments