diff options
author | RamonWill <ramonwilliams@hotmail.co.uk> | 2020-08-24 20:17:19 -0400 |
---|---|---|
committer | Federico Caselli <cfederico87@gmail.com> | 2022-08-11 21:39:45 +0200 |
commit | a134ec1760df6295d537ff63df7aee83d957bf6a (patch) | |
tree | 2c69701259576dfa58e4ebe742f7272f66f0cfc5 /lib/sqlalchemy/dialects/postgresql/asyncpg.py | |
parent | 6f75807063771496a34b7725d2565acf2528d76f (diff) | |
download | sqlalchemy-a134ec1760df6295d537ff63df7aee83d957bf6a.tar.gz |
Add support for Partitioning and Sample pages on mysql
Add support for Partitioning and Sample pages on MySQL and MariaDB
reflected options.
The options are stored in the table dialect options dictionary, so
the following keyword need to be prefixed with ``mysql_`` or ``mariadb_``
depending on the backend.
Supported options are:
* ``stats_sample_pages``
* ``partition_by``
* ``partitions``
* ``subpartition_by``
These options are also reflected when loading a table from database,
and will populate the table :attr:`_schema.Table.dialect_options`.
Pull request courtesy of Ramon Will.
Fixes: #4038
Closes: #5536
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5536
Pull-request-sha: f8852cabe15c9a91de85d27980988051f7a1306d
Change-Id: I69b60576532af04c725c998e9e8fec6e2040b149
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/asyncpg.py')
0 files changed, 0 insertions, 0 deletions