Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getNearest options not working #154

Open
h1k3 opened this issue Apr 3, 2017 · 0 comments
Open

getNearest options not working #154

h1k3 opened this issue Apr 3, 2017 · 0 comments

Comments

@h1k3
Copy link

h1k3 commented Apr 3, 2017

The following does not work. It shoots back an error saying maxDist not recognized optional parameter. Is there a slight change to spelling that I'm not aware of or something? I want to change the distance to user defined and also change the number of records received. Any help with finding the updated parameters?
Thank you in advance,
Lance
$secretBase = r\point(-122.422876,37.777128);
r\table('hideouts')->getNearest($secretBase,
array('index' => 'location', 'maxDist' => 5000)
)->run($conn)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant