Found 1 blog posts with the tag "lazy loading"

Doctrine Lazy Loading

Posted over 2 years ago by jwage

Did you know? Did you know that in Doctrine if you don't specifically select a property or join a relationship in your DQL query, you can lazily load that data? Here is a simple example to demonstrate. <?php $q = Doctrine::getTable('User') ->createQuery('u') ->sele... [read more] [0 Comments]