diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2018-10-04 15:53:51 -0400 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@ci.zzzcomputing.com> | 2018-10-04 15:53:51 -0400 |
| commit | bb65193bffeb106e63dab535a024565d7fc2e26d (patch) | |
| tree | 914ccbc85d4db0ebbe514392a4a08d5231d11d24 /doc | |
| parent | 96bb76222e1f612af7bd425ef5b4f208e10a255d (diff) | |
| parent | 3081269e6f1fc51d8d5cfc5120dd10ee2872e871 (diff) | |
| download | sqlalchemy-bb65193bffeb106e63dab535a024565d7fc2e26d.tar.gz | |
Merge "Route bulk update/delete exec through new Query._execute_crud method"
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/changelog/migration_13.rst | 13 | ||||
| -rw-r--r-- | doc/build/changelog/unreleased_13/4196.rst | 12 |
2 files changed, 25 insertions, 0 deletions
diff --git a/doc/build/changelog/migration_13.rst b/doc/build/changelog/migration_13.rst index 40363d426..725c88544 100644 --- a/doc/build/changelog/migration_13.rst +++ b/doc/build/changelog/migration_13.rst @@ -39,6 +39,19 @@ along with that object's full lifecycle in memory:: :ticket:`4257` +.. _change_4196: + +Horizontal Sharding extension supports bulk update and delete methods +--------------------------------------------------------------------- + +The :class:`.ShardedQuery` extension object supports the :meth:`.Query.update` +and :meth:`.Query.delete` bulk update/delete methods. The ``query_chooser`` +callable is consulted when they are called in order to run the update/delete +across multiple shards based on given criteria. + + +:ticket:`4196` + Key Behavioral Changes - ORM ============================= diff --git a/doc/build/changelog/unreleased_13/4196.rst b/doc/build/changelog/unreleased_13/4196.rst new file mode 100644 index 000000000..c23002baf --- /dev/null +++ b/doc/build/changelog/unreleased_13/4196.rst @@ -0,0 +1,12 @@ +.. change:: + :tags: feature, ext + :tickets: 4196 + + Added support for bulk :meth:`.Query.update` and :meth:`.Query.delete` + to the :class:`.ShardedQuery` class within the horiziontal sharding + extension. This also adds an additional expansion hook to the + bulk update/delete methods :meth:`.Query._execute_crud`. + + .. seealso:: + + :ref:`change_4196` |
