Issue a ``DROP`` statement for this :class:`_schema.Table`, using the given :class:`.Connection` or :class:`.Engine` for connectivity. .. seealso:: :meth:`_schema.MetaData.drop_all`.
(
self,
bind: _CreateDropBind,
checkfirst: Union[bool, CheckFirst] = CheckFirst.NONE,
)
| 1551 | bind._run_ddl_visitor(ddl.SchemaGenerator, self, checkfirst=checkfirst) |
| 1552 | |
| 1553 | def drop( |
| 1554 | self, |
| 1555 | bind: _CreateDropBind, |
| 1556 | checkfirst: Union[bool, CheckFirst] = CheckFirst.NONE, |
| 1557 | ) -> None: |
| 1558 | """Issue a ``DROP`` statement for this |
| 1559 | :class:`_schema.Table`, using the given |
| 1560 | :class:`.Connection` or :class:`.Engine` for connectivity. |
| 1561 | |
| 1562 | .. seealso:: |
| 1563 | |
| 1564 | :meth:`_schema.MetaData.drop_all`. |
| 1565 | |
| 1566 | """ |
| 1567 | bind._run_ddl_visitor(ddl.SchemaDropper, self, checkfirst=checkfirst) |
| 1568 | |
| 1569 | @util.deprecated( |
| 1570 | "1.4", |