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

Struct Function0

server/functions/framework/functions.go:62–69  ·  view source on GitHub ↗

Function0 is a function that does not take any parameters.

Source from the content-addressed store, hash-verified

60
61// Function0 is a function that does not take any parameters.
62type Function0 struct {
63 Name string
64 Return *pgtypes.DoltgresType
65 IsNonDeterministic bool
66 Strict bool
67 SRF bool
68 Callable func(ctx *sql.Context) (any, error)
69}
70
71// Function1 is a function that takes one parameter. The parameter and return type is passed into the Callable function
72// when the parameter (and possibly return type) is a polymorphic type. The return type is the last type in the array.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected