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

Function WrapFunction

postgres/parser/sem/tree/function_name.go:65–68  ·  view source on GitHub ↗

WrapFunction creates a new ResolvableFunctionReference holding a pre-resolved function. Helper for grammar rules.

(n string)

Source from the content-addressed store, hash-verified

63// WrapFunction creates a new ResolvableFunctionReference
64// holding a pre-resolved function. Helper for grammar rules.
65func WrapFunction(n string) ResolvableFunctionReference {
66 un := &UnresolvedName{NumParts: 1, Parts: NameParts{n}}
67 return ResolvableFunctionReference{FunctionReference: un}
68}
69
70// WrapFunctionSchema creates a new ResolvableFunctionReference
71// holding a pre-resolved function. Helper for grammar rules.

Callers 2

nodeColumnTableDefFunction · 0.92
columnDefFromMySQLFunction · 0.92

Calls

no outgoing calls

Tested by 1

columnDefFromMySQLFunction · 0.74