class QueryBuilder::CQL::Statements::CreateAggregate

Describes the ‘CREATE FUNCTION’ CQL3 statement

Public Instance Methods

to_s() click to toggle source

Builds the statement

@return [String]

# File lib/query_builder/cql/statements/create_aggregate.rb, line 25
def to_s
  cql[
    "CREATE", maybe_replace, "AGGREGATE", maybe_if, context.to_s,
    maybe_fields, maybe_functions
  ]
end