Class: DataMapper::Query::Conditions::LikeComparison

Inherits:
AbstractComparison show all
Defined in:
lib/dm-core/query/conditions/comparison.rb

Overview

Tests whether the value in the record is like the expected set for the Comparison. Equivalent to a LIKE clause in an SQL database.

TODO: move this to dm-more with DataObjectsAdapter plugins

Instance Attribute Summary

Attributes inherited from AbstractComparison

#loaded_value, #parent, #subject

Method Summary

Methods inherited from AbstractComparison

descendants, inherited, #inspect, #matches?, #negated?, #property?, #relationship?, slug, #slug, #to_s, #valid?, #value

Methods included from Equalizer

#equalize