Module: QueryBuilder::CQL::Modifiers::WithOptions

Included in:
Statements::CreateIndex
Defined in:
lib/query_builder/cql/modifiers/with_options.rb

Overview

Provides WITH OPTIONS clauses for statements

Defined Under Namespace

Classes: Clause

Instance Method Summary collapse

Instance Method Details

#with(options) ⇒ QueryBuilder::Core::Statement

Adds WITH OPTIONS clause to the statement

Parameters:

  • options (Hash)

Returns:



17
18
19
# File 'lib/query_builder/cql/modifiers/with_options.rb', line 17

def with(options)
  self << Clause.new(column: :options, value: options)
end