Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorjervis
     
    I'm sorry, I'm new to akelos

    how Akelos achieve Preloading Child Rows ,thanks
    •  
      CommentAuthorbermi
     

    Using the finder option 'include' => 'association_name', just like in Rails.

    $Post->findFirstBy('title', 'Welcome', array('include'=>'comments'));
    

    will populate $Post->comments