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

Method DropTable

common/persistence/sql/sqlplugin/sqlite/admin.go:78–80  ·  view source on GitHub ↗

DropTable drops a given table from the database

(name string)

Source from the content-addressed store, hash-verified

76
77// DropTable drops a given table from the database
78func (mdb *db) DropTable(name string) error {
79 return mdb.Exec(fmt.Sprintf(dropTableQuery, name))
80}
81
82// DropAllTables drops all tables from this database
83func (mdb *db) DropAllTables(database string) error {

Callers 1

DropAllTablesMethod · 0.95

Calls 1

ExecMethod · 0.95

Tested by

no test coverage detected