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

Method ListTables

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

ListTables returns a list of tables in this database

(database string)

Source from the content-addressed store, hash-verified

69
70// ListTables returns a list of tables in this database
71func (mdb *db) ListTables(database string) ([]string, error) {
72 var tables []string
73 err := mdb.db.Select(&tables, listTablesQuery)
74 return tables, err
75}
76
77// DropTable drops a given table from the database
78func (mdb *db) DropTable(name string) error {

Callers 1

DropAllTablesMethod · 0.95

Calls 1

SelectMethod · 0.80

Tested by

no test coverage detected