summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/requirements.py
diff options
context:
space:
mode:
authorGord Thompson <gord@gordthompson.com>2020-09-01 14:36:40 -0600
committerMike Bayer <mike_mp@zzzcomputing.com>2020-09-12 13:00:16 -0400
commit1a08d1aade046e9516d0527ffd2ac8bb43906171 (patch)
treec96d6ee4b715d2655c657dc730bcd0149d9a0fe3 /lib/sqlalchemy/testing/requirements.py
parent0d56a62f721ee6c91d8a8b6a407b959c9215b3b6 (diff)
downloadsqlalchemy-1a08d1aade046e9516d0527ffd2ac8bb43906171.tar.gz
Improve handling of covering indexes
Improved support for covering indexes (with INCLUDE columns). Added the ability for postgresql to render CREATE INDEX statements with an INCLUDE clause from Core. Index reflection also report INCLUDE columns separately for both mssql and postgresql (11+). Fixes: #4458 Change-Id: If0b82103fbc898cdaeaf6a6d2d421c732744acd6
Diffstat (limited to 'lib/sqlalchemy/testing/requirements.py')
-rw-r--r--lib/sqlalchemy/testing/requirements.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sqlalchemy/testing/requirements.py b/lib/sqlalchemy/testing/requirements.py
index 4114137d4..304f4475f 100644
--- a/lib/sqlalchemy/testing/requirements.py
+++ b/lib/sqlalchemy/testing/requirements.py
@@ -595,6 +595,10 @@ class SuiteRequirements(Requirements):
return exclusions.open()
@property
+ def index_reflects_included_columns(self):
+ return exclusions.closed()
+
+ @property
def indexes_with_ascdesc(self):
"""target database supports CREATE INDEX with per-column ASC/DESC."""
return exclusions.open()