Class: Arel::Predicates::Any
- Inherits:
-
Polyadic
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 Polyadic
#==, #bind, build, #eval, #initialize, #to_sql
Methods inherited from Predicate
#and, #not, #or
Instance Method Details
#complement ⇒ Object
63
64
65
|
# File 'lib/arel/algebra/predicates.rb', line 63
def complement
All.new(*predicates.map {|p| p.complement})
end
|
#compounder ⇒ Object
30
|
# File 'lib/arel/engines/memory/predicates.rb', line 30
def compounder; :any? end
|
#predicate_sql ⇒ Object
42
|
# File 'lib/arel/engines/sql/predicates.rb', line 42
def predicate_sql; "OR" end
|