lib/postgres_ext/arel/predications.rb in postgres_ext-0.0.6 vs lib/postgres_ext/arel/predications.rb in postgres_ext-0.0.7
- old
+ new
@@ -1,9 +1,13 @@
require 'arel/predications'
module Arel
module Predications
- def contained_within other
+ def contained_within(other)
Nodes::ContainedWithin.new self, other
+ end
+
+ def array_overlap(other)
+ Nodes::ArrayOverlap.new self, other
end
end
end