On Tue, 2010-08-03 at 13:09 +0100, Jonathan Lange wrote: > On Tue, Aug 3, 2010 at 12:27 PM, William Grant <[email protected]> > wrote: > > On Tue, 2010-08-03 at 23:17 +1200, Robert Collins wrote: > ... > >> Handwaving: I'd like to have a flexible way of saying "I need these > >> attributes (x, y,z) of the members of this collection > >> (some-GenericCollection-subclass)" and have all the needed related sql > >> expressions banged on automatically, then delivered as a result set of > >> the right objects, with those related things precached. > > > > This would also be really handy for normal LP code. Currently one must > > join in references manually, and there's nothing that can be done about > > collections. > > I agree, although I don't understand that last bit about there being > "nothing that can be done about collections".
If I do an appropriate prejoin, Storm won't make a query when I access a reference. But I can't prejoin ReferenceSets -- any attempt to access one *will* result in a query. _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp

