]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
note that horizontal sharding supports multi schema translates
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 21 Mar 2022 21:35:26 +0000 (17:35 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 21 Mar 2022 21:46:06 +0000 (17:46 -0400)
commit0b11385a0517ef9f63ce73b713d4d1e335c9addd
tree796032ba0b81f549fbaf7ca020611b53c408d4d0
parent8789171595507c2e43cd7ddc7dd4370b48130f4e
note that horizontal sharding supports multi schema translates

the horizontal sharding API needs some work as it is
still exposing some legacy details, but in any case illustrate
how we can, for the moment, to use multiple schema translate
maps in a single session.

A lot more cleanup is needed in horizontal sharding, see #7837

Change-Id: Ia925e2226ecee9d747a8c4fc1772917f10bc505f
References: #7832
References: #7837
(cherry picked from commit 2a1afd32b82e103961f305b478d4cc6f6244cd00)
doc/build/core/connections.rst
examples/sharding/separate_databases.py
examples/sharding/separate_schema_translates.py [new file with mode: 0644]
examples/sharding/separate_tables.py
lib/sqlalchemy/orm/query.py