IsLetTransform returns true if transform is a let-transform. The other case is a do-transform which starts with "do fn:group_by()".
()
| 1115 | // IsLetTransform returns true if transform is a let-transform. |
| 1116 | // The other case is a do-transform which starts with "do fn:group_by()". |
| 1117 | func (t Transform) IsLetTransform() bool { |
| 1118 | return t.Statements[0].Var != nil |
| 1119 | } |
| 1120 | |
| 1121 | // TransformStmt describes how to transform the relation of a rule. |
| 1122 | type TransformStmt struct { |
no outgoing calls
no test coverage detected