From: Mike Bayer Date: Sun, 28 Jan 2007 22:53:07 +0000 (+0000) Subject: fixed "eager=True" X-Git-Tag: rel_0_3_5~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a1a746d7abaebb1e1712224a8ebbf037cc94435;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fixed "eager=True" --- diff --git a/doc/build/content/adv_datamapping.txt b/doc/build/content/adv_datamapping.txt index e206686503..c8c8ea784f 100644 --- a/doc/build/content/adv_datamapping.txt +++ b/doc/build/content/adv_datamapping.txt @@ -369,7 +369,7 @@ For relations, the "order_by" property can also be specified to all forms of rel # eager load with ordering - the ORDER BY clauses of parent/child will be organized properly mapper = mapper(User, users_table, properties = { - 'addresses' : relation(mapper(Address, addresses_table), order_by=desc(addresses_table.c.email_address), eager=True) + 'addresses' : relation(mapper(Address, addresses_table), order_by=desc(addresses_table.c.email_address), lazy=False) }, order_by=users_table.c.user_id) ### Limiting Rows {@name=limits}