MCPcopy Create free account
hub / github.com/temporalio/temporal / DropTable

Method DropTable

common/persistence/sql/sqlplugin/mysql/admin.go:98–100  ·  view source on GitHub ↗

DropTable drops a given table from the database

(name string)

Source from the content-addressed store, hash-verified

96
97// DropTable drops a given table from the database
98func (mdb *db) DropTable(name string) error {
99 return mdb.Exec(fmt.Sprintf(dropTableQuery, name))
100}
101
102// DropAllTables drops all tables from this database
103func (mdb *db) DropAllTables(database string) error {

Callers 1

DropAllTablesMethod · 0.95

Calls 1

ExecMethod · 0.95

Tested by

no test coverage detected