Sha256: d7403300ba917b29f0d40c817a5b39bcef1fc48e042af8c304f30cb51c0b372f
Contents?: true
Size: 636 Bytes
Versions: 4
Compression:
Stored size: 636 Bytes
Contents
# frozen_string_literal: true require_relative '../../active_record_set_instruction' require_relative './operators' require_relative './query_value' require_relative './query_column' class ActiveSet module Filtering module ActiveRecord class SetInstruction < ActiveRecordSetInstruction include QueryValue include QueryColumn def arel_operator operator_hash.fetch(:operator, :eq) end private def operator_hash instruction_operator = @attribute_instruction.operator Operators.get(instruction_operator) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems