Module: QueryBuilder::CQL::Modifiers::AddColumn
- Included in:
- Statements::CreateIndex
- Defined in:
- lib/query_builder/cql/modifiers/add_column.rb
Overview
Provides column for CREATE INDEX statement
Defined Under Namespace
Classes: Clause
Instance Method Summary collapse
-
#add(*cols) ⇒ QueryBuilder::Core::Statement
Adds columns to the index.
Instance Method Details
#add(*cols) ⇒ QueryBuilder::Core::Statement
Adds columns to the index
19 20 21 |
# File 'lib/query_builder/cql/modifiers/add_column.rb', line 19 def add(*cols) cols.map { |col| Clause.new(name: col) }.inject(self, :<<) end |