]> 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:45:51 +0000 (17:45 -0400)
commit2a1afd32b82e103961f305b478d4cc6f6244cd00
treef12cc7ae7622535e3107ad1fba88c48367c7e1f2
parent512807f02d7aa6c4074910f1d0fba2187f50ee8f
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
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