MCPcopy Create free account
hub / github.com/araddon/qlbridge / NewWhere

Function NewWhere

exec/where.go:24–29  ·  view source on GitHub ↗

NewWhere create new Where Clause filters vs final differ bc the Final does final column aliasing

(ctx *plan.Context, p *plan.Where)

Source from the content-addressed store, hash-verified

22// NewWhere create new Where Clause
23// filters vs final differ bc the Final does final column aliasing
24func 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
31func NewWhereFinal(ctx *plan.Context, p *plan.Where) *Where {
32 s := &Where{

Callers 1

WalkWhereMethod · 0.70

Calls 2

NewWhereFilterFunction · 0.85
NewWhereFinalFunction · 0.70

Tested by

no test coverage detected