blob: 99b05afd83ac64ae6b1d84a123d40f551296a099 [file] [log] [blame]
===== Purpose
Executes a MongoDB `$within` query on legacy coordinate pairs
WARNING: The $within operator is considered legacy and replaced by $geoWithin. Hence this method is deprecated and `findByGeoWithin` should be used instead
===== Examples
[source,groovy]
----
Hotel.findByLocationWithinCircle([[40, 30],40])
Hotel.findByLocationWithinCircle( Circle.valueOf( [[40, 30],40] ) )
----