Class | DataMapper::Query::Conditions::LikeComparison |
In: |
lib/dm-core/query/conditions/comparison.rb
|
Parent: | AbstractComparison |
Tests whether the value in the record is like the expected_value set for the Comparison. Equivalent to a LIKE clause in an SQL database.
TODO: move this to dm-more with DataObjectsAdapter plugins
Asserts that the record value matches the comparison
@param [Resource, Hash] record
The record containing the value to be matched
@return [Boolean]
@api semipublic