(self, index)
| 1628 | ) |
| 1629 | |
| 1630 | def _can_drop_index(self, index): |
| 1631 | effective_schema = self.connection.schema_for_object(index.table) |
| 1632 | if effective_schema: |
| 1633 | self.dialect.validate_identifier(effective_schema) |
| 1634 | return ( |
| 1635 | not self.checkfirst & CheckFirst.INDEXES |
| 1636 | or self.dialect.has_index( |
| 1637 | self.connection, |
| 1638 | index.table.name, |
| 1639 | index.name, |
| 1640 | schema=effective_schema, |
| 1641 | ) |
| 1642 | ) |
| 1643 | |
| 1644 | def _can_drop_sequence(self, sequence): |
| 1645 | effective_schema = self.connection.schema_for_object(sequence) |
no test coverage detected