class QueryBuilder::CQL::Statements::RenameField

Describes the ‘ALTER TYPE … RENAME’ CQL3 statement

Public Instance Methods

to_s() click to toggle source

Builds the statement

@return [String]

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