(self)
| 977 | return str(CreateTable(self.table).compile(self.pd_sql.con)) |
| 978 | |
| 979 | def _execute_create(self) -> None: |
| 980 | # Inserting table into database, add to MetaData object |
| 981 | self.table = self.table.to_metadata(self.pd_sql.meta) |
| 982 | with self.pd_sql.run_transaction(): |
| 983 | self.table.create(bind=self.pd_sql.con) |
| 984 | |
| 985 | def create(self) -> None: |
| 986 | if self.exists(): |
no test coverage detected