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

Method GetInternalID

server/types/function_registry.go:97–101  ·  view source on GitHub ↗

GetInternalID returns the function's Internal ID associated with the given registry ID.

(registryID uint32)

Source from the content-addressed store, hash-verified

95
96// GetInternalID returns the function's Internal ID associated with the given registry ID.
97func (r *functionRegistry) GetInternalID(registryID uint32) id.Function {
98 r.mutex.Lock()
99 defer r.mutex.Unlock()
100 return r.revMapping[registryID]
101}
102
103// GetString returns the extracted function name from the function string associated with the given ID.
104func (r *functionRegistry) GetString(id uint32) string {

Callers 2

SerializeMethod · 0.80
initFunction · 0.80

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected