class QueryBuilder::CQL::Statements::CreateTrigger

Describes the ‘CREATE TRIGGER’ CQL3 statement

Public Instance Methods

to_s() click to toggle source

Builds the statement

@return [String]

# File lib/query_builder/cql/statements/create_trigger.rb, line 18
def to_s
  cql[
    "CREATE TRIGGER", maybe_if, context.name,
    "ON", context.table.to_s, maybe_using
  ]
end