module documentation
Horizontal sharding support. Defines a rudimental 'horizontal sharding' system which allows a Session to distribute queries and persistence operations across multiple databases. For a usage example, see the :ref:`examples_sharding` example included in the source distribution. .. deepalchemy:: The horizontal sharding extension is an advanced feature, involving a complex statement -> database interaction as well as use of semi-public APIs for non-trivial cases. Simpler approaches to refering to multiple database "shards", most commonly using a distinct :class:`_orm.Session` per "shard", should always be considered first before using this more complex and less-production-tested system.
Class |
|
Undocumented |
Class | set |
a loader option for statements to apply a specific shard id to the primary query as well as for additional relationship and column loaders. |
Class |
|
Undocumented |
Class |
|
Query class used with :class:`.ShardedSession`. |
Class |
|
No class docstring; 0/4 instance variable, 3/6 methods documented |
Function | execute |
Undocumented |
Type Variable | _T |
Undocumented |