summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-01-28 22:53:07 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-01-28 22:53:07 +0000
commit7a1a746d7abaebb1e1712224a8ebbf037cc94435 (patch)
tree13899f2af0e7a2dc0518d2ac27820986214e7fa7
parent1b4e9a922128bdcd9645783427a72fe869cbfcb8 (diff)
downloadsqlalchemy-7a1a746d7abaebb1e1712224a8ebbf037cc94435.tar.gz
fixed "eager=True"
-rw-r--r--doc/build/content/adv_datamapping.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/content/adv_datamapping.txt b/doc/build/content/adv_datamapping.txt
index e20668650..c8c8ea784 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}