MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / FuncExpr

Struct FuncExpr

pkg/sql/sem/tree/expr.go:1257–1271  ·  view source on GitHub ↗

FuncExpr represents a function call.

Source from the content-addressed store, hash-verified

1255
1256// FuncExpr represents a function call.
1257type FuncExpr struct {
1258 Func ResolvableFunctionReference
1259 Type funcType
1260 Exprs Exprs
1261 // Filter is used for filters on aggregates: SUM(k) FILTER (WHERE k > 0)
1262 Filter Expr
1263 WindowDef *WindowDef
1264
1265 // OrderBy is used for aggregations that specify an order:
1266 // array_agg(col1 ORDER BY col2)
1267 OrderBy OrderBy
1268 typeAnnotation
1269 fnProps *FunctionProperties
1270 fn *Overload
1271}
1272
1273// NewTypedFuncExpr returns a FuncExpr that is already well-typed and resolved.
1274func NewTypedFuncExpr(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected