]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
documented eager load fix
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 8 Jun 2007 14:24:10 +0000 (14:24 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 8 Jun 2007 14:24:10 +0000 (14:24 +0000)
CHANGES
examples/polymorph/polymorph.py

diff --git a/CHANGES b/CHANGES
index 120bd6e23fa346e445ed8135b55c121e45c5c545..0abb91de354e30dfdaf9d68170d59f99f4e00179 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -5,6 +5,9 @@
       can just string all the tables together via outerjoin().
       The UNION still applies if concrete tables are involved, 
       though (since nothing to join them on).
+    - small fix to eager loading to better work with eager loads
+      to polymorphic mappers that are using a straight "outerjoin"
+      clause
 - sql
     - long-identifier detection fixed to use > rather than >= for 
       max ident length [ticket:589]
index 67138b0847048b6c2a1b7d60edfbccdc8861d883..5ff1a6d411e21cf3f700b24a16df492dc2a015a2 100644 (file)
@@ -4,7 +4,7 @@ import sets
 # this example illustrates a polymorphic load of two classes, where each class has a very 
 # different set of properties
 
-metadata = BoundMetaData('sqlite://', echo='True')
+metadata = BoundMetaData('sqlite://', echo=True)
 
 # a table to store companies
 companies = Table('companies', metadata,