]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- squash-merge the final row_proc integration branch. this is
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 1 Mar 2015 21:09:11 +0000 (16:09 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 1 Mar 2015 21:09:11 +0000 (16:09 -0500)
commit79cbd377a62d291103aa0e378f0665e2e09185b2
treea9aaebe8daeef5f0b4bb4f229a75ffeaad007051
parentc5edbc6fdc611d3c812735d83fe056fbb7d113f5
- squash-merge the final row_proc integration branch.  this is
a much more modest outcome than what we started with.   The
work of create_row_processor() for ColumnProperty objects
is essentially done at query setup time combined with some
lookups in _instance_processor().
- to allow this change for deferred columns, deferred columns
no longer search for themselves in the result.   If they've been
set up as deferred without any explicit directive to undefer them,
then this is what was asked for.  if we don't do this,
then we're stuck with this performance penalty for all deferred
columns which in the vast majority of typical use cases (e.g. loading
large, legacy tables or tables with many/large very seldom
used values) won't be present in the result and won't be accessed at all.
doc/build/changelog/changelog_10.rst
doc/build/changelog/migration_10.rst
lib/sqlalchemy/orm/base.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/loading.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/strategies.py
test/orm/test_deferred.py
test/orm/test_eager_relations.py