Class: Arel::Predicates::NotMatch
- Defined in:
- lib/arel/algebra/predicates.rb
Instance Attribute Summary
Attributes inherited from Binary
Attributes inherited from Unary
Instance Method Summary collapse
Methods inherited from Binary
#==, #bind, #initialize, #to_sql
Methods inherited from Unary
#==, #bind, #initialize, #to_sql
Methods inherited from Predicate
Constructor Details
This class inherits a constructor from Arel::Predicates::Binary
Instance Method Details
#complement ⇒ Object
261 262 263 |
# File 'lib/arel/algebra/predicates.rb', line 261 def complement Match.new(operand1, operand2) end |
#eval(row) ⇒ Object
265 266 267 |
# File 'lib/arel/algebra/predicates.rb', line 265 def eval(row) operand1.eval(row) !~ operand2.eval(row) end |
#predicate_sql ⇒ Object
269 |
# File 'lib/arel/algebra/predicates.rb', line 269 def predicate_sql; 'NOT LIKE' end |