NewCompiledFunction returns a newly compiled function.
(ctx *sql.Context, name string, args []sql.Expression, functions *Overloads, isOperator bool)
| 64 | |
| 65 | // NewCompiledFunction returns a newly compiled function. |
| 66 | func NewCompiledFunction(ctx *sql.Context, name string, args []sql.Expression, functions *Overloads, isOperator bool) *CompiledFunction { |
| 67 | return newCompiledFunctionInternal(ctx, name, args, functions, functions.overloadsForParams(len(args)), isOperator, nil) |
| 68 | } |
| 69 | |
| 70 | // newCompiledFunctionInternal is called internally, which skips steps that may have already been processed. |
| 71 | func newCompiledFunctionInternal( |
no test coverage detected