SwiftstructBiomeStreams
AggregationFunction
struct BiomeSQLParser.AggregationFunction
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Encodable
- protocolSwift.Equatable
Members 3
Header
struct AggregationFunction { enum AggregationType { enum CodingKeys { case AVG case COUNT case COUNT_STAR case GROUP_CONCAT case MAX case MIN case SUM case TOTAL } enum AVGCodingKeys { case expression } enum COUNTCodingKeys { case expression } enum COUNT_STARCodingKeys {} enum GROUP_CONCATCodingKeys { case expression case separator } enum MAXCodingKeys { case expression } enum MINCodingKeys { case expression } enum SUMCodingKeys { case expression } enum TOTALCodingKeys { case expression } case AVG(expression: BiomeSQLParser.SQLExpression) case COUNT(expression: BiomeSQLParser.SQLExpression) case GROUP_CONCAT(expression: BiomeSQLParser.SQLExpression, separator: BiomeSQLParser.SQLExpression?) case MAX(expression: BiomeSQLParser.SQLExpression) case MIN(expression: BiomeSQLParser.SQLExpression) case SUM(expression: BiomeSQLParser.SQLExpression) case TOTAL(expression: BiomeSQLParser.SQLExpression) case COUNT_STAR } enum CodingKeys { case aggregationType case returnType } let aggregationType: BiomeSQLParser.AggregationFunction.AggregationType let returnType: BiomeSQLParser.SQLDataType func name() -> Swift.String }