I am looking to add a geolocation attribute to my "Candidate" Eloquent model. I want to find Candidates based on their location. For instance, find all Candidates within 20 miles of San Francisco. What should my Eloquent model look like to store a location in the database?
How do I query for candidates based on their location? I am using Laravel 5.3.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire