(aggregation, groupby)
| 3948 | }; |
| 3949 | } |
| 3950 | getTransforms(aggregation, groupby) { |
| 3951 | const trans = { |
| 3952 | type: "joinaggregate", |
| 3953 | groupby: groupby.map((0, _expr.safeFieldName)), |
| 3954 | ops: [ |
| 3955 | aggregation |
| 3956 | ] |
| 3957 | }; |
| 3958 | if (aggregation === "sum") trans.fields = [ |
| 3959 | this.props.sumBy.name |
| 3960 | ].map((0, _expr.safeFieldName)); |
| 3961 | return trans; |
| 3962 | } |
| 3963 | getAggregation() { |
| 3964 | const { props } = this; |
| 3965 | let s; |