diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-10-23 12:08:20 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-10-23 12:08:20 -0400 |
commit | bac14cdf477151f5d3bea3450565462a66c17ee2 (patch) | |
tree | 2396dfbb8b18c90e2fcd43892a9d9d5e400cf679 /lib/sqlalchemy/sql/compiler.py | |
parent | 389325099d4d8c0ce42a5a0d5395fbe3ead15af5 (diff) | |
download | sqlalchemy-bac14cdf477151f5d3bea3450565462a66c17ee2.tar.gz |
Added a new method :meth:`.Engine.execution_options`
to :class:`.Engine`. This method works similarly to
:class:`.Connection.execution_options` in that it creates
a copy of the parent object which will refer to the new
set of options. The method can be used to build
sharding schemes where each engine shares the same
underlying pool of connections. The method
has been tested against the horizontal shard
recipe in the ORM as well.
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions