Skip to content

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