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

Struct InterpretedFunction

server/functions/framework/interpreted_function.go:34–44  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

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.
34type 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
46var _ FunctionInterface = InterpretedFunction{}
47var _ plpgsql.InterpretedFunction = InterpretedFunction{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected