(self, index)
| 1377 | ) |
| 1378 | |
| 1379 | def _can_create_index(self, index): |
| 1380 | effective_schema = self.connection.schema_for_object(index.table) |
| 1381 | if effective_schema: |
| 1382 | self.dialect.validate_identifier(effective_schema) |
| 1383 | return ( |
| 1384 | not self.checkfirst & CheckFirst.INDEXES |
| 1385 | or not self.dialect.has_index( |
| 1386 | self.connection, |
| 1387 | index.table.name, |
| 1388 | index.name, |
| 1389 | schema=effective_schema, |
| 1390 | ) |
| 1391 | ) |
| 1392 | |
| 1393 | def _can_create_sequence(self, sequence): |
| 1394 | effective_schema = self.connection.schema_for_object(sequence) |
no test coverage detected