(as string, ordinal int, col *Column, valtype value.ValueType)
| 322 | return &Projection{Columns: make(ResultColumns, 0), colNames: make(map[string]struct{})} |
| 323 | } |
| 324 | func 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 { |
| 327 | rc.Name = col.SourceField |
| 328 | } |
| 329 | return &rc |
| 330 | } |
| 331 | func NewSqlSelect() *SqlSelect { |
| 332 | req := &SqlSelect{} |
| 333 | req.Columns = make(Columns, 0) |
no outgoing calls
no test coverage detected