NewWhere create new Where Clause filters vs final differ bc the Final does final column aliasing
(ctx *plan.Context, p *plan.Where)
| 22 | // NewWhere create new Where Clause |
| 23 | // filters vs final differ bc the Final does final column aliasing |
| 24 | func NewWhere(ctx *plan.Context, p *plan.Where) *Where { |
| 25 | if p.Final { |
| 26 | return NewWhereFinal(ctx, p) |
| 27 | } |
| 28 | return NewWhereFilter(ctx, p.Stmt) |
| 29 | } |
| 30 | |
| 31 | func NewWhereFinal(ctx *plan.Context, p *plan.Where) *Where { |
| 32 | s := &Where{ |
no test coverage detected