FuncExpr represents a function call.
| 1255 | |
| 1256 | // FuncExpr represents a function call. |
| 1257 | type 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. |
| 1274 | func NewTypedFuncExpr( |
nothing calls this directly
no outgoing calls
no test coverage detected