]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Added a new method :meth:`.Engine.execution_options`
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 23 Oct 2012 16:08:20 +0000 (12:08 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 23 Oct 2012 16:08:20 +0000 (12:08 -0400)
commitbac14cdf477151f5d3bea3450565462a66c17ee2
tree2396dfbb8b18c90e2fcd43892a9d9d5e400cf679
parent389325099d4d8c0ce42a5a0d5395fbe3ead15af5
  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.
doc/build/changelog/changelog_08.rst
lib/sqlalchemy/engine/base.py
test/engine/test_execute.py
test/ext/test_horizontal_shard.py