MCPcopy Create free account
hub / github.com/dolthub/doltgresql / GetTableNames

Method GetTableNames

server/tables/database.go:45–48  ·  view source on GitHub ↗

GetTableNames implements the interface sql.DatabaseSchema.

(ctx *sql.Context)

Source from the content-addressed store, hash-verified

43
44// GetTableNames implements the interface sql.DatabaseSchema.
45func (d Database) GetTableNames(ctx *sql.Context) ([]string, error) {
46 tableMap := handlers[d.db.Schema()]
47 return utils.GetMapKeysSorted(tableMap), nil
48}
49
50// Name implements the interface sql.DatabaseSchema.
51func (d Database) Name() string {

Callers 6

doesRelationExistMethod · 0.45
iterateSchemasFunction · 0.45
RunCallbackFunction · 0.45
RowIterMethod · 0.45
RowIterMethod · 0.45

Calls 2

GetMapKeysSortedFunction · 0.92
SchemaMethod · 0.65

Tested by

no test coverage detected