On Feb 13, 2009, at 2:12 PM, Chris Withers wrote:
> > Michael Bayer wrote: >> >> session >> .query(Record).with_parent(unit).order_by(Record.date.desc()).first() > > OK, this works... > >> alternatively, to do exactly what you stated above, i.e. >> unit.records.order_by()... etc., you can use a "dynamic" relation >> which establishes relations as Query objects. use lazy="dynamic" >> for >> this and see the examples in the "Large Collections" portion of the >> documentation. > > Which docs do I need to understand what all this means and where do I > find them? that would be here: http://www.sqlalchemy.org/docs/05/mappers.html?highlight=large%20collections#working-with-large-collections --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
