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

Method HasFunction

core/functions/collection.go:103–106  ·  view source on GitHub ↗

HasFunction returns whether the function is present.

(ctx context.Context, funcID id.Function)

Source from the content-addressed store, hash-verified

101
102// HasFunction returns whether the function is present.
103func (pgf *Collection) HasFunction(ctx context.Context, funcID id.Function) bool {
104 _, ok := pgf.accessCache[funcID]
105 return ok
106}
107
108// AddFunction adds a new function.
109func (pgf *Collection) AddFunction(ctx context.Context, f Function) error {

Callers 4

HasRootObjectMethod · 0.95
RowIterMethod · 0.80
dropFunctionFunction · 0.80
RowIterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected