Module: Arel::Predications
- Defined in:
- lib/activerecord-postgis-array/arel/predications.rb
Instance Method Summary collapse
- #contained_within(other) ⇒ Object
- #contained_within_or_equals(other) ⇒ Object
- #contains(other) ⇒ Object
- #contains_or_equals(other) ⇒ Object
- #overlap(other) ⇒ Object
Instance Method Details
#contained_within(other) ⇒ Object
5 6 7 |
# File 'lib/activerecord-postgis-array/arel/predications.rb', line 5 def contained_within(other) Nodes::ContainedWithin.new self, other end |
#contained_within_or_equals(other) ⇒ Object
9 10 11 |
# File 'lib/activerecord-postgis-array/arel/predications.rb', line 9 def contained_within_or_equals(other) Nodes::ContainedWithinEquals.new self, other end |
#contains(other) ⇒ Object
13 14 15 |
# File 'lib/activerecord-postgis-array/arel/predications.rb', line 13 def contains(other) Nodes::Contains.new self, other end |
#contains_or_equals(other) ⇒ Object
17 18 19 |
# File 'lib/activerecord-postgis-array/arel/predications.rb', line 17 def contains_or_equals(other) Nodes::ContainsEquals.new self, other end |