module Arel::Predications

Public Instance Methods

all(other) click to toggle source
# File lib/postgres_ext/arel/4.1/predications.rb, line 30
def all(other)
  any_tags_function = Arel::Nodes::NamedFunction.new('ALL', [self])
  Arel::Nodes::Equality.new(other, any_tags_function)
end
any(other) click to toggle source
# File lib/postgres_ext/arel/4.1/predications.rb, line 25
def any(other)
  any_tags_function = Arel::Nodes::NamedFunction.new('ANY', [self])
  Arel::Nodes::Equality.new(other, any_tags_function)
end
contained_within(other) click to toggle source
# File lib/postgres_ext/arel/4.1/predications.rb, line 5
def contained_within(other)
  Nodes::ContainedWithin.new self, other
end
contained_within_or_equals(other) click to toggle source
# File lib/postgres_ext/arel/4.1/predications.rb, line 9
def contained_within_or_equals(other)
  Nodes::ContainedWithinEquals.new self, other
end
contains(other) click to toggle source
# File lib/postgres_ext/arel/4.1/predications.rb, line 13
def contains(other)
  Nodes::Contains.new self, other
end
contains_or_equals(other) click to toggle source
# File lib/postgres_ext/arel/4.1/predications.rb, line 17
def contains_or_equals(other)
  Nodes::ContainsEquals.new self, other
end
overlap(other) click to toggle source
# File lib/postgres_ext/arel/4.1/predications.rb, line 21
def overlap(other)
  Nodes::Overlap.new self, other
end