You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note only double brackets. I'm not sure if this is a typo in the changelog, or if the changelog has the correct syntax and this is a bug in the query. I had to add an extra containing array (triple brackets) to make the query work. I'm also not sure if this applies to any of the other geo_spacial queries.
The text was updated successfully, but these errors were encountered:
astjohn
added a commit
to Sitata/origin
that referenced
this issue
Dec 23, 2014
…ixesmongoid#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.
The mongo docs specify the query as:
Note the triple brackets.
The current changlog (the first place I happened to stumble into the documentation as I was upgrading) shows usage as:
Note only double brackets. I'm not sure if this is a typo in the changelog, or if the changelog has the correct syntax and this is a bug in the query. I had to add an extra containing array (triple brackets) to make the query work. I'm also not sure if this applies to any of the other geo_spacial queries.
The text was updated successfully, but these errors were encountered: