Emit ``DROP`` DDL for this type. :param bind: a connectable :class:`_engine.Engine`, :class:`_engine.Connection`, or similar object to emit SQL. :param checkfirst: if ``True``, a query against the PG catalog will be first performed to see if the t
(
self, bind: _CreateDropBind, checkfirst: bool = True, **kw: Any
)
| 57 | bind._run_ddl_visitor(self.DDLGenerator, self, checkfirst=checkfirst) |
| 58 | |
| 59 | def drop( |
| 60 | self, bind: _CreateDropBind, checkfirst: bool = True, **kw: Any |
| 61 | ) -> None: |
| 62 | """Emit ``DROP`` DDL for this type. |
| 63 | |
| 64 | :param bind: a connectable :class:`_engine.Engine`, |
| 65 | :class:`_engine.Connection`, or similar object to emit |
| 66 | SQL. |
| 67 | :param checkfirst: if ``True``, a query against |
| 68 | the PG catalog will be first performed to see |
| 69 | if the type actually exists before dropping. |
| 70 | |
| 71 | """ |
| 72 | bind._run_ddl_visitor(self.DDLDropper, self, checkfirst=checkfirst) |
| 73 | |
| 74 | def _check_for_name_in_memos( |
| 75 | self, checkfirst: CheckFirst, kw: Dict[str, Any] |
no test coverage detected