MCPcopy
hub / github.com/pandas-dev/pandas / _execute_create

Method _execute_create

pandas/io/sql.py:979–983  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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():

Callers 1

createMethod · 0.95

Calls 2

run_transactionMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected