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

Function getValuesOfColumn

engine/engine.go:306–313  ·  view source on GitHub ↗
(columnName string, columns []*Column)

Source from the content-addressed store, hash-verified

304}
305
306func getValuesOfColumn(columnName string, columns []*Column) ([]ValueInterface, error) {
307 wantedColumnName := []string{columnName}
308 columnContent, err := extractColumnContent(columns, &wantedColumnName, "")
309 if err != nil {
310 return nil, err
311 }
312 return columnContent.Columns[0].Values, nil
313}
314
315func evaluateColumnTypeOfAggregateFunc(space ast.Space) token.Token {
316 if space.AggregateFunc.Type == token.MIN ||

Callers 1

Calls 1

extractColumnContentFunction · 0.85

Tested by

no test coverage detected