Class | DataMapper::Query::Conditions::InclusionComparison |
In: |
lib/dm-core/query/conditions/comparison.rb
|
Parent: | AbstractComparison |
Tests whether the value in the record is contained in the expected_value set for the Comparison, where expected_value is an Array, Range, or Set.
Asserts that the record value matches the comparison
@param [Resource, Hash] record
The record containing the value to be matched
@return [Boolean]
@api semipublic
Checks that the Comparison is valid
@see DataMapper::Query::Conditions::AbstractComparison#valid?
@return [Boolean]
@api semipublic