belongsTo and hasOne associations are queried using LEFT JOINs, effectively putting the association data (fields) at the same level as the primary model being queried, hence splitting them by the association name, at the top level of the returned results. For consistency, hasMany and hasAndBelongsToMany data are both returned in that same manner.
When Cake's ActiveRecord implementation uses objects, this will all make a lot more sense. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
