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

Struct Function3

server/functions/framework/functions.go:129–138  ·  view source on GitHub ↗

Function3 is a function that takes three parameters. The parameter and return types are passed into the Callable function when the parameters (and possibly return type) have at least one polymorphic type. The return type is the last type in the array.

Source from the content-addressed store, hash-verified

127// function when the parameters (and possibly return type) have at least one polymorphic type. The return type is the
128// last type in the array.
129type Function3 struct {
130 Name string
131 Return *pgtypes.DoltgresType
132 Parameters [3]*pgtypes.DoltgresType
133 Variadic bool
134 IsNonDeterministic bool
135 Strict bool
136 SRF bool
137 Callable func(ctx *sql.Context, paramsAndReturn [4]*pgtypes.DoltgresType, val1 any, val2 any, val3 any) (any, error)
138}
139
140// Function4 is a function that takes four parameters. The parameter and return types are passed into the Callable
141// function when the parameters (and possibly return type) have at least one polymorphic type. The return type is the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected