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

Method ResolveName

core/rootobject/objinterface/interfaces.go:80–80  ·  view source on GitHub ↗

ResolveName finds the closest matching (or exact) ID for the given name. If an exact match is not found, then this may error if the name is ambiguous.

(ctx context.Context, name doltdb.TableName)

Source from the content-addressed store, hash-verified

78 // ResolveName finds the closest matching (or exact) ID for the given name. If an exact match is not found, then
79 // this may error if the name is ambiguous.
80 ResolveName(ctx context.Context, name doltdb.TableName) (doltdb.TableName, id.Id, error)
81 // TableNameToID converts the given name to an ID. The ID will be invalid for empty/malformed names.
82 TableNameToID(name doltdb.TableName) id.Id
83 // UpdateField updates the field on the given root object with the new value. Returns a new root object with the

Callers 3

GetRootObjectConflictsFunction · 0.65
PutRootObjectFunction · 0.65
ResolveNameFunction · 0.65

Implementers 8

Collectioncore/triggers/collection.go
Collectioncore/functions/collection.go
Collectioncore/conflicts/collection.go
Collectioncore/extensions/collection.go
Collectioncore/sequences/collection.go
Collectioncore/procedures/collection.go
Collectioncore/casts/collection.go
TypeCollectioncore/typecollection/typecollection.go

Calls

no outgoing calls

Tested by

no test coverage detected