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

Function NewProjection

rel/sql.go:321–323  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

319 return expr.NewKeywordDialect(SqlKeywords)
320}
321func NewProjection() *Projection {
322 return &Projection{Columns: make(ResultColumns, 0), colNames: make(map[string]struct{})}
323}
324func NewResultColumn(as string, ordinal int, col *Column, valtype value.ValueType) *ResultColumn {
325 rc := ResultColumn{Name: as, As: as, ColPos: ordinal, Col: col, Type: valtype}
326 if col != nil {

Callers 3

loadLiteralProjectionMethod · 0.92
loadFinalMethod · 0.92
projectionForSourcePlanFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected