Class: Arel::Predicates::Match
- Inherits:
-
Binary
show all
- 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
#==, #bind, #eval, #to_sql
Methods inherited from Predicate
#and, #not, #or
Instance Method Details
#complement ⇒ Object
167
168
169
|
# File 'lib/arel/algebra/predicates.rb', line 167
def complement
NotMatch.new(operand1, operand2)
end
|
#operator ⇒ Object
78
|
# File 'lib/arel/engines/memory/predicates.rb', line 78
def operator; :=~ end
|
#predicate_sql ⇒ Object
78
|
# File 'lib/arel/engines/sql/predicates.rb', line 78
def predicate_sql; 'LIKE' end
|