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

Method getTableMap

core/rootvalue.go:918–923  ·  view source on GitHub ↗

getTableMap returns the tableMap for this root.

(ctx context.Context, schemaName string)

Source from the content-addressed store, hash-verified

916
917// getTableMap returns the tableMap for this root.
918func (root *RootValue) getTableMap(ctx context.Context, schemaName string) (storage.RootTableMap, error) {
919 if schemaName == "" {
920 schemaName = doltdb.DefaultSchemaName
921 }
922 return root.st.GetTablesMap(ctx, root.vrw, root.ns, schemaName)
923}
924
925// putTable provides an inner implementation that is called from multiple other functions.
926func (root *RootValue) putTable(ctx context.Context, tName doltdb.TableName, ref types.Ref) (doltdb.RootValue, error) {

Callers 8

DropDatabaseSchemaMethod · 0.95
GetAllTableNamesMethod · 0.95
GetTableMethod · 0.95
GetTableHashMethod · 0.95
GetTableNamesMethod · 0.95
IterTablesMethod · 0.95
RemoveTablesMethod · 0.95
ResolveTableNameMethod · 0.95

Calls 1

GetTablesMapMethod · 0.80

Tested by

no test coverage detected