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

Add within_sphere and within_circle to geo_spacial. #103

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

astjohn
Copy link

@astjohn astjohn commented Dec 23, 2014

Added within_circle and within_sphere queries to geo_spacial selector to handle mongodb's respective $center and $centerSphere queries.

This also fixes a small typo in the documentation for intersects_polygon and within_polygon regarding the number of brackets used (#102).

Added within_circle and within_sphere queries to geo_spacial selector
to handle mongodb's respective $center and $centerSphere queries.
…ixes mongoid#102.

The correct query is to use triple brackets as specified in the specs and
in mongodb documentation. The example documentation for Origin was missing
a set of brackets.
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

Successfully merging this pull request may close these issues.

1 participant