Module: QueryBuilder::CQL::Modifiers::Update
- Included in:
- Statements::Update
- Defined in:
- lib/query_builder/cql/modifiers/update.rb
Overview
Provides columns and values for UPDATE statement
Defined Under Namespace
Classes: Clause
Instance Method Summary collapse
-
#update(options) ⇒ QueryBuilder::Core::Statement
(also: #set)
Adds SET clause to the statement.
Instance Method Details
#update(options) ⇒ QueryBuilder::Core::Statement Also known as: set
Adds SET clause to the statement
17 18 19 20 21 |
# File 'lib/query_builder/cql/modifiers/update.rb', line 17 def update() .map { |key, value| Clause.new(column: key, value: value) } .inject(self, :<<) end |