Class: Arel::Predicates::NotMatch
- Defined in:
- lib/arel/algebra/predicates.rb,
lib/arel/engines/sql/predicates.rb,
lib/arel/engines/memory/predicates.rb
Instance Method Summary collapse
Methods inherited from Binary
Methods inherited from Predicate
Instance Method Details
#complement ⇒ Object
173 174 175 |
# File 'lib/arel/algebra/predicates.rb', line 173 def complement Match.new(operand1, operand2) end |
#eval(row) ⇒ Object
82 83 84 |
# File 'lib/arel/engines/memory/predicates.rb', line 82 def eval(row) operand1.eval(row) !~ operand2.eval(row) end |
#predicate_sql ⇒ Object
82 |
# File 'lib/arel/engines/sql/predicates.rb', line 82 def predicate_sql; 'NOT LIKE' end |