Class DataMapper::Query::Conditions::EqualToComparison
In: lib/dm-core/query/conditions/comparison.rb
Parent: AbstractComparison

Tests whether the value in the record is equal to the expected set for the Comparison.

Methods

matches?  

Included Modules

RelationshipHandler

Public Instance methods

Tests that the record value matches the comparison

@param [Resource, Hash] record

  The record containing the value to be matched

@return [Boolean]

@api semipublic

[Validate]