Sha256: 35279f8f293448deceaccd5f4550cc5d9590608dd65c44c165f4d535ead8ba5b
Contents?: true
Size: 227 Bytes
Versions: 2
Compression:
Stored size: 227 Bytes
Contents
# frozen_string_literal: true module Pragma module Operation module Filter class Equals < Base def apply(relation:, value:) relation.where(column => 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/equals.rb |
pragma-2.1.0 | lib/pragma/operation/filter/equals.rb |