summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-04-11 12:03:41 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-04-11 12:03:41 -0400
commit4f2b05ff2cb28d6741d66c7302c3349f064a9857 (patch)
tree12f8c5cbf4cbff68dff5c8d0a64d4575d4538291
parent36c05de373f9cbb198573704f2bc28fea8ca9113 (diff)
downloadsqlalchemy-4f2b05ff2cb28d6741d66c7302c3349f064a9857.tar.gz
- somejoin.select(fold_equivalents=True) is no longer
deprecated, and will eventually be rolled into a more comprehensive version of the feature for [ticket:1729].
-rw-r--r--CHANGES4
-rw-r--r--lib/sqlalchemy/sql/expression.py7
2 files changed, 5 insertions, 6 deletions
diff --git a/CHANGES b/CHANGES
index f027db647..6fe3cbdc5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -68,6 +68,10 @@ CHANGES
an UPDATE. Test coverage which wasn't present in 0.5
has been added. [ticket:1755]
+ - somejoin.select(fold_equivalents=True) is no longer
+ deprecated, and will eventually be rolled into a more
+ comprehensive version of the feature for [ticket:1729].
+
- the Numeric type raises an *enormous* warning when expected
to convert floats to Decimal from a DBAPI that returns floats.
This includes SQLite, Oracle, Sybase, MS-SQL.
diff --git a/lib/sqlalchemy/sql/expression.py b/lib/sqlalchemy/sql/expression.py
index 1222a144f..fc6b5ad97 100644
--- a/lib/sqlalchemy/sql/expression.py
+++ b/lib/sqlalchemy/sql/expression.py
@@ -2892,18 +2892,13 @@ class Join(FromClause):
select, for columns that are calculated to be "equivalent"
based on the join criterion of this :class:`Join`. This will
recursively apply to any joins directly nested by this one
- as well. This flag is specific to a particular use case
- by the ORM and is deprecated as of 0.6.
+ as well.
:param \**kwargs: all other kwargs are sent to the
underlying :func:`select()` function.
"""
if fold_equivalents:
- global sql_util
- if not sql_util:
- from sqlalchemy.sql import util as sql_util
- util.warn_deprecated("fold_equivalents is deprecated.")
collist = sql_util.folded_equivalents(self)
else:
collist = [self.left, self.right]