class QueryBuilder::CQL::Statements::CreateField

Describes the ‘ALTER TYPE … ADD’ CQL3 statement

Public Instance Methods

to_s() click to toggle source

Builds the statement

@return [String]

# File lib/query_builder/cql/statements/create_field.rb, line 17
def to_s
  cql["ALTER TYPE", context.type.to_s, "ADD", context.name, type]
end