]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- rework ColumnAdapter and ORMAdapter to only provide the features
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 7 Sep 2014 18:55:44 +0000 (14:55 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 7 Sep 2014 18:55:44 +0000 (14:55 -0400)
commitc52580dedef89f0b94274d7e49d4f4ab099c7bc6
tree02a4c6cdd14c504a5f9ee263c2d81d638706b42d
parent7950270cf2b12807acd7c330b11dae36e50c3a28
- rework ColumnAdapter and ORMAdapter to only provide the features
we're now using; rework them fully so that their behavioral contract
is consistent regarding adapter.traverse() vs. adapter.columns[],
add a full suite of tests including advanced wrapping scenarios
previously only covered by test/orm/test_froms.py and
test/orm/inheritance/test_relationships.py
- identify several cases where label._order_by_label_clause would be
corrupted, e.g. due to adaption or annotation separately
- add full tests for #3148
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/sql/elements.py
lib/sqlalchemy/sql/util.py
test/orm/test_query.py
test/sql/test_generative.py
test/sql/test_selectable.py