[Cosmo-dev] Items in Many Collections

Randy Letness randy at osafoundation.org
Mon Mar 12 08:55:28 PST 2007


Brian Moseley wrote:
> i think/hope that getParents is lazy loading. i'm not sure in what
> situations we actually use it, so even if it's lazy loading, if we
> call it all the time, there definitely is potential for a problem.
>

Yes it is lazy loading and it will be cached, so if its called multiple 
times, it should only load from the db the first time its called.

-Randy



More information about the cosmo-dev mailing list