MCPcopy Create free account
hub / github.com/LissaGreense/GO4SQL / String

Method String

ast/ast.go:176–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

174}
175
176func (space Space) String() string {
177 columnName := "ColumnName={Type: " + string(space.ColumnName.Type) + ", Literal: " + space.ColumnName.Literal + "}"
178 if space.ContainsAggregateFunc() {
179 aggFunc := "AggregateFunc={Type: " + string(space.AggregateFunc.Type) + ", Literal: " + space.AggregateFunc.Literal + "}"
180 return columnName + ", " + aggFunc
181 }
182 return columnName
183}
184
185// ContainsAggregateFunc - return true if space contains AggregateFunc that aggregate columnName or *
186func (space Space) ContainsAggregateFunc() bool {

Callers 1

mainFunction · 0.80

Calls 1

ContainsAggregateFuncMethod · 0.95

Tested by

no test coverage detected