Class: QueryBuilder::CQL::Statements::Update
- Inherits:
-
Base
- Object
- QueryBuilder::Core::Base
- QueryBuilder::Core::Statement
- Base
- QueryBuilder::CQL::Statements::Update
- Includes:
- Modifiers::If, Modifiers::IfExists, Modifiers::Update, Modifiers::UsingOptions, Modifiers::Where
- Defined in:
- lib/query_builder/cql/statements/update.rb
Overview
Describes the ‘UPDATE’ CQL3 statement
Instance Method Summary collapse
-
#to_s ⇒ String
Builds the statement.
Methods included from Modifiers::UsingOptions
Methods included from Modifiers::IfExists
Methods included from Modifiers::If
Methods included from Modifiers::Where
Methods included from Modifiers::Update
Methods included from Operators
cql, cql_composite, cql_dec, cql_element, cql_entries, cql_frozen, cql_full, cql_gt, cql_gte, cql_in, cql_inc, cql_keys, cql_list, cql_literal, cql_lt, cql_lte, cql_map, cql_set, cql_token, cql_token_value, cql_ttl, cql_tuple, cql_tuple_value, cql_writetime
Methods inherited from QueryBuilder::Core::Statement
Methods inherited from QueryBuilder::Core::Base
Constructor Details
This class inherits a constructor from QueryBuilder::Core::Statement
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class QueryBuilder::CQL::Operators
Instance Method Details
#to_s ⇒ String
Builds the statement
21 22 23 24 25 |
# File 'lib/query_builder/cql/statements/update.rb', line 21 def to_s cql[ "UPDATE", context.to_s, maybe_using, maybe_set, maybe_where, maybe_if ] end |