Module: FrOData::Query::Criteria::GeographyFunctions
- Included in:
- FrOData::Query::Criteria
- Defined in:
- lib/frodata/query/criteria/geography_functions.rb
Instance Method Summary collapse
-
#distance(to) ⇒ self
Applies the ‘geo.distance` function.
-
#intersects(what) ⇒ self
Applies the ‘geo.intersects` function.
Instance Method Details
#distance(to) ⇒ self
Applies the ‘geo.distance` function.
8 9 10 |
# File 'lib/frodata/query/criteria/geography_functions.rb', line 8 def distance(to) set_function_and_argument(:'geo.distance', to) end |
#intersects(what) ⇒ self
Applies the ‘geo.intersects` function.
15 16 17 |
# File 'lib/frodata/query/criteria/geography_functions.rb', line 15 def intersects(what) set_function_and_argument(:'geo.intersects', what) end |