Did you know? PHP-AR has Eager Loading

by Jacques Fuentes Tue Aug 31 19:31:08 -0400 2010

Eager loading cuts down on the number of queries that are executed when dealing with associations. Specifically, it circumvents the N + 1 query problem. Some of you may have already been using this feature as it has been a part of PHP-AR even before 1.0, but we never got around to documenting its usage. Please let us know if you have questions/problems.

You can read about the feature here.