]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Deprecate Mapper.order_by
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 19 Apr 2016 20:11:23 +0000 (16:11 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 19 Apr 2016 22:17:45 +0000 (18:17 -0400)
commit23825a2591760285d5d42b05f81248f4f7a23631
treecf50a502e2d688dd3e1906690cd1a4891a43820a
parent56dafa6c0dc1ebb7728a2120cce14f8227b2a97e
Deprecate Mapper.order_by

This is an old parameter no longer relevant to how SQLAlchemy
works, once the Query object was introduced.  By deprecating it
we establish that we aren't supporting non-working use cases
and that we encourage applications to move off of the use of this
parameter.

Fixes: #3394
Change-Id: I25b9a38142a1537bbcb27d3e8b66a8b265140072
18 files changed:
doc/build/changelog/changelog_11.rst
doc/build/changelog/migration_11.rst
lib/sqlalchemy/orm/mapper.py
test/aaa_profiling/test_memusage.py
test/ext/declarative/test_reflection.py
test/orm/inheritance/_poly_fixtures.py
test/orm/inheritance/test_poly_linked_list.py
test/orm/inheritance/test_polymorphic_rel.py
test/orm/test_association.py
test/orm/test_deferred.py
test/orm/test_eager_relations.py
test/orm/test_froms.py
test/orm/test_joins.py
test/orm/test_mapper.py
test/orm/test_onetoone.py
test/orm/test_relationships.py
test/orm/test_subquery_relations.py
test/orm/test_unitofwork.py