📅  最后修改于: 2022-03-11 14:52:17.132000             🧑  作者: Mango
public interface PersonRepository extends MongoRepository
// Geo-spatial repository queries
// { 'location' : { '$near' : [point.x, point.y], '$maxDistance' : distance}}
List findByLocationNear(Point location, Distance distance);
}