MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __init__

Method __init__

lib/sqlalchemy/sql/ddl.py:1113–1124  ·  view source on GitHub ↗

Create a :class:`.DropIndex` construct. :param element: a :class:`_schema.Index` that's the subject of the DROP. :param if_exists: if True, an IF EXISTS operator will be applied to the construct. .. versionadded:: 1.4.0b2

(self, element: Index, if_exists: bool = False)

Source from the content-addressed store, hash-verified

1111 __visit_name__ = "drop_index"
1112
1113 def __init__(self, element: Index, if_exists: bool = False) -> None:
1114 """Create a :class:`.DropIndex` construct.
1115
1116 :param element: a :class:`_schema.Index` that's the subject
1117 of the DROP.
1118 :param if_exists: if True, an IF EXISTS operator will be applied to the
1119 construct.
1120
1121 .. versionadded:: 1.4.0b2
1122
1123 """
1124 super().__init__(element, if_exists=if_exists)
1125
1126
1127class AddConstraint(_CreateBase["Constraint"]):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected