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

Struct Function5

server/functions/framework/functions.go:157–166  ·  view source on GitHub ↗

Function5 is a function that takes five 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

155// function when the parameters (and possibly return type) have at least one polymorphic type. The return type is the
156// last type in the array.
157type Function5 struct {
158 Name string
159 Return *pgtypes.DoltgresType
160 Parameters [5]*pgtypes.DoltgresType
161 Variadic bool
162 IsNonDeterministic bool
163 Strict bool
164 SRF bool
165 Callable func(ctx *sql.Context, paramsAndReturn [6]*pgtypes.DoltgresType, val1 any, val2 any, val3 any, val4 any, val5 any) (any, error)
166}
167
168// Function6 is a function that takes six parameters. The parameter and return types are passed into the Callable
169// 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