InterpretedFunction is the implementation of functions created using PL/pgSQL. The created functions are converted to a collection of operations, and an interpreter iterates over those operations to handle the logic.
| 32 | // InterpretedFunction is the implementation of functions created using PL/pgSQL. The created functions are converted to |
| 33 | // a collection of operations, and an interpreter iterates over those operations to handle the logic. |
| 34 | type InterpretedFunction struct { |
| 35 | ID id.Function |
| 36 | ReturnType *pgtypes.DoltgresType |
| 37 | ParameterNames []string |
| 38 | ParameterTypes []*pgtypes.DoltgresType |
| 39 | Variadic bool |
| 40 | IsNonDeterministic bool |
| 41 | Strict bool |
| 42 | SRF bool |
| 43 | Statements []plpgsql.InterpreterOperation |
| 44 | } |
| 45 | |
| 46 | var _ FunctionInterface = InterpretedFunction{} |
| 47 | var _ plpgsql.InterpretedFunction = InterpretedFunction{} |
nothing calls this directly
no outgoing calls
no test coverage detected