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

Method DropTable

common/persistence/sql/sqlplugin/postgresql/admin.go:99–101  ·  view source on GitHub ↗

DropTable drops a given table from the database

(name string)

Source from the content-addressed store, hash-verified

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

Callers 1

DropAllTablesMethod · 0.95

Calls 1

ExecMethod · 0.95

Tested by

no test coverage detected