Sha256: 17b452e8c901ab46579f6260f6e1f4511f533049bf6a8000e67a712e1e9b0eb7

Contents?: true

Size: 241 Bytes

Versions: 5

Compression:

Stored size: 241 Bytes

Contents

class Agilibox::SmallData::FilterStrategyByDateBegin < ::Agilibox::SmallData::FilterStrategyByKeyValue
  def apply(query, value)
    value = Date.parse(value)
    column = column_for(query)
    query.where("#{column} >= ?", value)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
agilibox-2.0.0 app/filters/agilibox/small_data/filter_strategy_by_date_begin.rb
agilibox-1.11.0 app/filters/agilibox/small_data/filter_strategy_by_date_begin.rb
agilibox-1.10.5 app/filters/agilibox/small_data/filter_strategy_by_date_begin.rb
agilibox-1.10.2 app/filters/agilibox/small_data/filter_strategy_by_date_begin.rb
agilibox-1.10.1 app/filters/agilibox/small_data/filter_strategy_by_date_begin.rb