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

Method sql_schema

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

Source from the content-addressed store, hash-verified

2580 sqlite3.register_converter("timestamp", convert_timestamp)
2581
2582 def sql_schema(self) -> str:
2583 return str(";\n".join(self.table))
2584
2585 def _execute_create(self) -> None:
2586 with self.pd_sql.run_transaction() as cur:

Callers 2

_create_sql_schemaMethod · 0.95
test_sqlite_type_mappingFunction · 0.95

Calls 1

joinMethod · 0.45

Tested by 1

test_sqlite_type_mappingFunction · 0.76