Sha256: db53b23832d168671c8417f8c7a8c2d70fad959abd48b2e2ee8483449b81a7d5

Contents?: true

Size: 498 Bytes

Versions: 3

Compression:

Stored size: 498 Bytes

Contents

require 'arel/predications'

module Arel
  module Predications
    def contained_within(other)
      Nodes::ContainedWithin.new self, other
    end

    def contained_within_or_equals(other)
      Nodes::ContainedWithinEquals.new self, other
    end

    def contains(other)
      Nodes::Contains.new self, other
    end

    def contains_or_equals(other)
      Nodes::ContainsEquals.new self, other
    end

    def array_overlap(other)
      Nodes::ArrayOverlap.new self, other
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
postgres_ext-0.2.2 lib/postgres_ext/arel/predications.rb
postgres_ext-0.2.1 lib/postgres_ext/arel/predications.rb
postgres_ext-0.2.0 lib/postgres_ext/arel/predications.rb