]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [feature] The of_type() construct on attributes
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 20 Jun 2012 23:28:29 +0000 (19:28 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 20 Jun 2012 23:28:29 +0000 (19:28 -0400)
commit3dd536ac06808adcf9c10707dbf2ebb6e3842be7
treed102291da86021aa4584ef836dbb0471596c3eeb
parent40098941007ff3aa1593e834915c4042c1668dc2
- [feature] The of_type() construct on attributes
now accepts aliased() class constructs as well
as with_polymorphic constructs, and works with
query.join(), any(), has(), and also
eager loaders subqueryload(), joinedload(),
contains_eager()
[ticket:2438] [ticket:1106]
- a rewrite of the query path system to use an
object based approach for more succinct usage.  the system
has been designed carefully to not add an excessive method overhead.
- [feature] select() features a correlate_except()
method, auto correlates all selectables except those
passed.   Is needed here for the updated any()/has()
functionality.
- remove some old cruft from LoaderStrategy, init(),debug_callable()
- use a namedtuple for _extended_entity_info.  This method should
become standard within the orm internals
- some tweaks to the memory profile tests, number of runs can
be customized to work around pysqlite's very annoying behavior
- try to simplify PropertyOption._get_paths(), rename to _process_paths(),
returns a single list now.  overall works more completely as was needed
for of_type() functionality
22 files changed:
CHANGES
doc/build/orm/inheritance.rst
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/state.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/sql/expression.py
lib/sqlalchemy/util/__init__.py
lib/sqlalchemy/util/compat.py
test/aaa_profiling/test_memusage.py
test/orm/inheritance/_poly_fixtures.py
test/orm/inheritance/test_polymorphic_rel.py
test/orm/test_merge.py
test/orm/test_pickled.py
test/orm/test_query.py
test/orm/test_subquery_relations.py
test/perf/orm2010.py