-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfuncCall.go
19 lines (17 loc) · 1.01 KB
/
funcCall.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package squl
// FuncCall describes the function class expression clause.
type FuncCall struct {
Name interface{} `json:"name"` /* qualified name of function */
Args []interface{} `json:"args"` /* the arguments (list of exprs) */
// AggOrder List `json:"agg_order"` /* ORDER BY (list of SortBy) */
// AggFilter Value `json:"agg_filter"` /* FILTER clause, if any */
// AggWithinGroup bool `json:"agg_within_group"` /* ORDER BY appeared in WITHIN GROUP */
// AggStar bool `json:"agg_star"` /* argument was really '*' */
// AggDistinct bool `json:"agg_distinct"` /* arguments were labeled DISTINCT */
// FuncVariadic bool `json:"func_variadic"` /* last argument was labeled VARIADIC */
// Over *WindowDef `json:"over"` /* OVER clause, if any */
// Location int `json:"location"` /* token location, or -1 if unknown */
}
func (r *FuncCall) dump(_ *ordinalMarker) (string, error) {
return "", nil
}