summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-06-08 14:24:10 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-06-08 14:24:10 +0000
commit4302d162ae608ab975f6dfc34350c4883bc18747 (patch)
tree847b1ba64a4442a15eccf810ab7da243248e9532
parent4215a5f20003e0a9d2633464ea7073472659a315 (diff)
downloadsqlalchemy-4302d162ae608ab975f6dfc34350c4883bc18747.tar.gz
documented eager load fix
-rw-r--r--CHANGES3
-rw-r--r--examples/polymorph/polymorph.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 120bd6e23..0abb91de3 100644
--- 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]
diff --git a/examples/polymorph/polymorph.py b/examples/polymorph/polymorph.py
index 67138b084..5ff1a6d41 100644
--- a/examples/polymorph/polymorph.py
+++ b/examples/polymorph/polymorph.py
@@ -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,