Module: QueryBuilder::CQL::Modifiers::Where
- Included in:
- Statements::Delete, Statements::Select, Statements::Update
- Defined in:
- lib/query_builder/cql/modifiers/where.rb
Overview
Provides WHERE clauses for statements
Defined Under Namespace
Classes: Clause
Instance Method Summary collapse
-
#where(options) ⇒ QueryBuilder::Core::Statement
Adds WHERE clause to the statement.
Instance Method Details
#where(options) ⇒ QueryBuilder::Core::Statement
Adds WHERE clause to the statement
17 18 19 20 21 |
# File 'lib/query_builder/cql/modifiers/where.rb', line 17 def where() .map { |key, value| Clause.new(column: key, value: value) } .inject(self, :<<) end |