check this...maybe will help: http://book.cakephp.org/view/1323/Containable -- Lep pozdrav, Tilen Majerle http://majerle.eu
2011/4/20 web developer <[email protected]> > Look at this Task(id,name,user_id) belongsTo User(id,name,country_id) which > belongsTo Country(id,name) > > Now in Task Controller i want all the tasks with their user(id,name) and > users countries(name) > > How can i achieve without recursive 2 or without firing more than 2 > queries. > > Hope the above example is clear > > > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
