Method: Arel::Predications#all

Defined in:
lib/active_record_extended/arel/predications.rb

#all(other) ⇒ Object



12
13
14
15
# File 'lib/active_record_extended/arel/predications.rb', line 12

def all(other)
  all_tags_function = Arel::Nodes::NamedFunction.new("ALL", [self])
  Arel::Nodes::Equality.new(Nodes.build_quoted(other, self), all_tags_function)
end