Skip to content

Conversation

@ebensing
Copy link
Contributor

@ebensing ebensing commented Jul 1, 2013

Initial geoSearch support for Mongoose. Should work pretty similar to the way mapreduce does.

ebensing added 3 commits June 27, 2013 17:31
All tests passing and geoSearch works. Still need to cast the return
documents back into their models
also, updated the tests. everything now casts appropriately.
lib/model.js Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could drop the !callback since the other check covers it.

lib/model.js Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should guard against potentially calling the callback multiple times.

ebensing added 6 commits July 1, 2013 14:44
making sure that errors sent back to the user are `instanceof Error`
updated the tests to reflect the new way the errors are passed to the
user
aheckmann added a commit that referenced this pull request Jul 2, 2013
@aheckmann aheckmann merged commit 3439a25 into Automattic:master Jul 2, 2013
@aheckmann aheckmann deleted the geosearch branch July 2, 2013 20:48
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.

2 participants