MCPcopy Index your code
hub / github.com/uber/aresdb / NewSingleColumn

Function NewSingleColumn

query/sql/tree/SingleColumn.go:28–34  ·  view source on GitHub ↗

NewSingleColumn creates SingleColumn

(location *NodeLocation, expr IExpression, alias *Identifier)

Source from the content-addressed store, hash-verified

26
27// NewSingleColumn creates SingleColumn
28func NewSingleColumn(location *NodeLocation, expr IExpression, alias *Identifier) *SingleColumn {
29 return &SingleColumn{
30 NewSelectItem(location),
31 alias,
32 expr,
33 }
34}
35
36// Accept accepts visitor
37func (q *SingleColumn) Accept(visitor AstVisitor, ctx interface{}) interface{} {

Callers 1

VisitSelectSingleMethod · 0.92

Calls 1

NewSelectItemFunction · 0.85

Tested by

no test coverage detected