Class: Arel::Predicates::All
- 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
69
70
71
|
# File 'lib/arel/algebra/predicates.rb', line 69
def complement
Any.new(*predicates.map {|p| p.complement})
end
|
#compounder ⇒ Object
34
|
# File 'lib/arel/engines/memory/predicates.rb', line 34
def compounder; :all? end
|
#predicate_sql ⇒ Object
46
|
# File 'lib/arel/engines/sql/predicates.rb', line 46
def predicate_sql; "AND" end
|