module QueryBuilder::CQL::Modifiers::CompactStorage
Provides COMPACT STORAGE clauses for statements
Public Instance Methods
compact_storage()
click to toggle source
Adds COMPACT STORAGE clause to the statement
@return [QueryBuilder::Core::Statement] updated statement
# File lib/query_builder/cql/modifiers/compact_storage.rb, line 15 def compact_storage self << Clause.new end
Private Instance Methods
maybe_where()
click to toggle source
# File lib/query_builder/cql/modifiers/compact_storage.rb, line 21 def maybe_where list = clauses(:where) ["WHERE", list.join(" AND ")] if list.any? end