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

Fix for issue when running a where comparison on fields of type MongoID #40

Closed
wants to merge 1 commit into from

Conversation

Adewra
Copy link

@Adewra Adewra commented Sep 16, 2013

Added in a fix for an issue when executing a where query on field which is of type MongoID. Previously, it would not return any results as it was searching for a string, now if the string matches the MongoID format it will search for a MongoID instead.

…ch is of type MongoID. Previously, it would not return any results as it was searching for a string, now if the string matches the MongoID format it will search for a MongoID instead.
@jenssegers
Copy link
Contributor

This seems to cause a few problems in the tests. I think it is best to manually create a MongoID object for this situation, like you would do with the native objects.

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.

3 participants