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.
| 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. |
| 129 | type 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 |
nothing calls this directly
no outgoing calls
no test coverage detected