Issue a ``CREATE`` statement for this :class:`_schema.Table`, using the given :class:`.Connection` or :class:`.Engine` for connectivity. .. seealso:: :meth:`_schema.MetaData.create_all`.
(
self,
bind: _CreateDropBind,
checkfirst: Union[bool, CheckFirst] = CheckFirst.TYPES,
)
| 1532 | self.metadata = metadata |
| 1533 | |
| 1534 | def create( |
| 1535 | self, |
| 1536 | bind: _CreateDropBind, |
| 1537 | checkfirst: Union[bool, CheckFirst] = CheckFirst.TYPES, |
| 1538 | ) -> None: |
| 1539 | """Issue a ``CREATE`` statement for this |
| 1540 | :class:`_schema.Table`, using the given |
| 1541 | :class:`.Connection` or :class:`.Engine` |
| 1542 | for connectivity. |
| 1543 | |
| 1544 | .. seealso:: |
| 1545 | |
| 1546 | :meth:`_schema.MetaData.create_all`. |
| 1547 | |
| 1548 | """ |
| 1549 | |
| 1550 | # the default is to only check for schema objects |
| 1551 | bind._run_ddl_visitor(ddl.SchemaGenerator, self, checkfirst=checkfirst) |
| 1552 | |
| 1553 | def drop( |
| 1554 | self, |