summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2016-08-17 18:26:34 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2016-08-17 18:26:34 -0400
commit5145f671a4b5eb072e996bc450d2946d4be2a343 (patch)
treed9e8f974bc2ed8d42daad44dbccc00a5dd49f475
parent5b86ae5e8a50b9df54310312402fb2e12d742a2a (diff)
downloadsqlalchemy-5145f671a4b5eb072e996bc450d2946d4be2a343.tar.gz
- fix wrong var name, credit to @RazerM
Change-Id: I36fbbfd1223ef5298c679f46db24e1bf3013cef0
-rw-r--r--doc/build/changelog/migration_11.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/changelog/migration_11.rst b/doc/build/changelog/migration_11.rst
index 36c5ead3c..ed64565d1 100644
--- a/doc/build/changelog/migration_11.rst
+++ b/doc/build/changelog/migration_11.rst
@@ -1385,7 +1385,7 @@ and the column arguments passed to :meth:`.TextClause.columns`::
Address.email_address
)
- query = session.query(User).from_statement(text).\
+ query = session.query(User).from_statement(stmt).\
options(contains_eager(User.addresses))
result = query.all()