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

Struct FuncExpr

postgres/parser/sem/tree/expr.go:1299–1316  ·  view source on GitHub ↗

FuncExpr represents a function call.

Source from the content-addressed store, hash-verified

1297
1298// FuncExpr represents a function call.
1299type FuncExpr struct {
1300 Func ResolvableFunctionReference
1301 Type funcType
1302 Exprs Exprs
1303 // Filter is used for filters on aggregates: SUM(k) FILTER (WHERE k > 0)
1304 Filter Expr
1305 WindowDef *WindowDef
1306
1307 // AggType is used to specify the type of aggregation.
1308 AggType AggType
1309 // OrderBy is used for aggregations which specify an order. This same field
1310 // is used for any type of aggregation.
1311 OrderBy OrderBy
1312
1313 typeAnnotation
1314 fnProps *FunctionProperties
1315 fn *Overload
1316}
1317
1318// NewTypedFuncExpr returns a FuncExpr that is already well-typed and resolved.
1319func NewTypedFuncExpr(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected