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