Represent a DROP TABLE statement.
| 683 | |
| 684 | |
| 685 | class DropTable(_DropBase["Table"]): |
| 686 | """Represent a DROP TABLE statement.""" |
| 687 | |
| 688 | __visit_name__ = "drop_table" |
| 689 | |
| 690 | def __init__(self, element: Table, if_exists: bool = False) -> None: |
| 691 | """Create a :class:`.DropTable` construct. |
| 692 | |
| 693 | :param element: a :class:`_schema.Table` that's the subject |
| 694 | of the DROP. |
| 695 | :param on: See the description for 'on' in :class:`.DDL`. |
| 696 | :param if_exists: if True, an IF EXISTS operator will be applied to the |
| 697 | construct. |
| 698 | |
| 699 | .. versionadded:: 1.4.0b2 |
| 700 | |
| 701 | """ |
| 702 | super().__init__(element, if_exists=if_exists) |
| 703 | |
| 704 | |
| 705 | class CreateSequence(_CreateBase["Sequence"]): |
no outgoing calls
no test coverage detected