FuncExpr represents a function call.
| 1297 | |
| 1298 | // FuncExpr represents a function call. |
| 1299 | type 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. |
| 1319 | func NewTypedFuncExpr( |
nothing calls this directly
no outgoing calls
no test coverage detected