module QueryBuilder::CQL::Modifiers::Timestamp
Provides LIMIT clauses for statements
Public Instance Methods
timestamp(value)
click to toggle source
Adds LIMIT clause to the statement
@param [Integer] value
@return [QueryBuilder::Core::Statement] updated statement
# File lib/query_builder/cql/modifiers/timestamp.rb, line 17 def timestamp(value) self << Clause.new(value: value) end
Private Instance Methods
maybe_using()
click to toggle source
# File lib/query_builder/cql/modifiers/timestamp.rb, line 23 def maybe_using list = clauses(:using) ["USING", list.sort.join(" AND ")] if list.any? end