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

Struct Function7

server/functions/framework/functions.go:185–194  ·  view source on GitHub ↗

Function7 is a function that takes seven 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

183// function when the parameters (and possibly return type) have at least one polymorphic type. The return type is the
184// last type in the array.
185type Function7 struct {
186 Name string
187 Return *pgtypes.DoltgresType
188 Parameters [7]*pgtypes.DoltgresType
189 Variadic bool
190 IsNonDeterministic bool
191 Strict bool
192 SRF bool
193 Callable func(ctx *sql.Context, paramsAndReturn [8]*pgtypes.DoltgresType, val1 any, val2 any, val3 any, val4 any, val5 any, val6 any, val7 any) (any, error)
194}
195
196var _ FunctionInterface = Function0{}
197var _ FunctionInterface = Function1{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected