summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/pypostgresql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2017-11-12 18:44:41 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2017-11-12 18:44:41 -0500
commit3937fc7dfc0f000505ff181ebb8e6b432f116231 (patch)
tree1dce9e899aac5e7d9f4a142232178e7eaa4728f0 /lib/sqlalchemy/dialects/postgresql/pypostgresql.py
parent6448903b5287801aaefbf82b5fa108403d743e8f (diff)
downloadsqlalchemy-3937fc7dfc0f000505ff181ebb8e6b432f116231.tar.gz
Add baked.Result.with_post_criteria method
Added new method :meth:`.baked.Result.with_post_criteria` to baked query system, allowing non-SQL-modifying transformations to take place after the query has been pulled from the cache. Among other things, this method can be used with :class:`.horizontal_shard.ShardedQuery` to set the shard identifier. :class:`.horizontal_shard.ShardedQuery` has also been modified such that its :meth:`.ShardedQuery.get` method interacts correctly with that of :class:`.baked.Result`. Change-Id: I04630c683240abbb4b99f0510a1a3dcb564815b4 Fixes: #4135
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/pypostgresql.py')
0 files changed, 0 insertions, 0 deletions