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

Method ListTables

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

ListTables returns a list of tables in this database

(database string)

Source from the content-addressed store, hash-verified

90
91// ListTables returns a list of tables in this database
92func (pdb *db) ListTables(database string) ([]string, error) {
93 var tables []string
94 err := pdb.Select(&tables, listTablesQuery)
95 return tables, pdb.handle.ConvertError(err)
96}
97
98// DropTable drops a given table from the database
99func (pdb *db) DropTable(name string) error {

Callers 1

DropAllTablesMethod · 0.95

Calls 2

SelectMethod · 0.95
ConvertErrorMethod · 0.80

Tested by

no test coverage detected