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

Function NewCompiledFunction

server/functions/framework/compiled_function.go:66–68  ·  view source on GitHub ↗

NewCompiledFunction returns a newly compiled function.

(ctx *sql.Context, name string, args []sql.Expression, functions *Overloads, isOperator bool)

Source from the content-addressed store, hash-verified

64
65// NewCompiledFunction returns a newly compiled function.
66func NewCompiledFunction(ctx *sql.Context, name string, args []sql.Expression, functions *Overloads, isOperator bool) *CompiledFunction {
67 return newCompiledFunctionInternal(ctx, name, args, functions, functions.overloadsForParams(len(args)), isOperator, nil)
68}
69
70// newCompiledFunctionInternal is called internally, which skips steps that may have already been processed.
71func newCompiledFunctionInternal(

Callers 3

ResolveProcedureDefaultsFunction · 0.92
FunctionMethod · 0.85

Calls 2

overloadsForParamsMethod · 0.80

Tested by

no test coverage detected