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

Struct Function6

server/functions/framework/functions.go:171–180  ·  view source on GitHub ↗

Function6 is a function that takes six 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

169// function when the parameters (and possibly return type) have at least one polymorphic type. The return type is the
170// last type in the array.
171type Function6 struct {
172 Name string
173 Return *pgtypes.DoltgresType
174 Parameters [6]*pgtypes.DoltgresType
175 Variadic bool
176 IsNonDeterministic bool
177 Strict bool
178 SRF bool
179 Callable func(ctx *sql.Context, paramsAndReturn [7]*pgtypes.DoltgresType, val1 any, val2 any, val3 any, val4 any, val5 any, val6 any) (any, error)
180}
181
182// Function7 is a function that takes seven parameters. The parameter and return types are passed into the Callable
183// 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