Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $query = $this->createQueryBuilder()
- ->field('Coordinates')->near($longitude, $latitude)
- ->debug();
- var_dump($query);
- OUTPUT
- array(3) { ["type"]=> int(10) ["mapReduce"]=> array(3) { ["map"]=> NULL ["reduce"]=> NULL ["options"]=> array(0) { } } ["near"]=> array(1) { ["Coordinates"]=> float(50) } }
Add Comment
Please, Sign In to add comment