func (this *builder) VisitUnnest(node *algebra.Unnest) (interface{}, error) { _, err := node.Left().Accept(this) if err != nil { return nil, err } unnest := NewUnnest(node) this.subChildren = append(this.subChildren, unnest) return nil, nil }
func NewUnnest(term *algebra.Unnest) *Unnest { return &Unnest{ term: term, alias: term.Alias(), } }