Sha256: 131ecb81cd7238d35e735d5293086cbfcb2913be42288538d81db31808a41457
Contents?: true
Size: 244 Bytes
Versions: 2
Compression:
Stored size: 244 Bytes
Contents
# frozen_string_literal: true module Pragma module Operation module Filter class Ilike < Base def apply(relation:, value:) relation.where("#{column} ILIKE ?", "%#{value}%") end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pragma-2.1.1 | lib/pragma/operation/filter/ilike.rb |
pragma-2.1.0 | lib/pragma/operation/filter/ilike.rb |