MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / visit_index

Method visit_index

lib/sqlalchemy/sql/ddl.py:1656–1661  ·  view source on GitHub ↗
(self, index, drop_ok=False)

Source from the content-addressed store, hash-verified

1654 )
1655
1656 def visit_index(self, index, drop_ok=False):
1657 if not drop_ok and not self._can_drop_index(index):
1658 return
1659
1660 with self.with_ddl_events(index):
1661 DropIndex(index)(index, self.connection)
1662
1663 def visit_table(
1664 self,

Callers

nothing calls this directly

Calls 3

_can_drop_indexMethod · 0.95
DropIndexClass · 0.85
with_ddl_eventsMethod · 0.45

Tested by

no test coverage detected