MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / index_ddl_if_exists

Method index_ddl_if_exists

test/requirements.py:121–125  ·  view source on GitHub ↗

target platform supports IF NOT EXISTS / IF EXISTS for indexes.

(self)

Source from the content-addressed store, hash-verified

119
120 @property
121 def index_ddl_if_exists(self):
122 """target platform supports IF NOT EXISTS / IF EXISTS for indexes."""
123
124 # mariadb but not mysql, tested up to mysql 8
125 return only_on(["postgresql", "mariadb", "sqlite"])
126
127 @property
128 def on_update_cascade(self):

Callers

nothing calls this directly

Calls 1

only_onFunction · 0.90

Tested by

no test coverage detected