> override the loader type at query time, such as being lazy by default
> but being nice to the database when I know I'm going to need all the
> data from the relation (especially if I'm calling a couple thousand
> rows for a report)?
Eager loads are performed using a join, so only a single query is
issued. You can change the eager/lazy behaviour at query time by using
the 'options' method on the query object.
See
<http://www.sqlalchemy.org/docs/datamapping.myt#datamapping_selectrelati
ons_eagerload> and
<http://www.sqlalchemy.org/docs/datamapping.myt#datamapping_selectrelati
ons_options> for more.
Hope that helps,
Simon
Adam M Peacock