Skip to content

Instantly share code, notes, and snippets.

@peterfox
Created June 8, 2019 19:21
<?php
$query->whereSpatialDistance('coordinates', [1, 1], 10)
->orWhereSpatialDistance('coordinates', [0, 0], 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment