Sha256: 1a2070ef53b1095fdc759828e20b78147e1dce576528a5546abd40de0515cdca
Contents?: true
Size: 301 Bytes
Versions: 14
Compression:
Stored size: 301 Bytes
Contents
module Dorsale module SmallData class FilterStrategyByDateEnd < ::Dorsale::SmallData::FilterStrategyByKeyValue def apply(query, value) value = Time.parse(value).end_of_day query.where("#{key} <= ?", value) end end # FilterStrategy end # SmallData end # Dorsale
Version data entries
14 entries across 14 versions & 1 rubygems