Created
November 5, 2011 12:50
-
-
Save 0xRoch/1341471 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static List<User> findByLocation(Long South_Lat, Long South_Lng, Long North_Lat, Long North_Lng) { | |
List<User> users = all().filter("latitude<", South_Lat).filter("latitude>", North_Lat).filter("latitude>", North_Lat).filter("longitude>", North_Lng).fetch(); | |
return users; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment