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

$exists operator results in empty objects #959

Closed
gepo opened this issue Oct 9, 2014 · 0 comments
Closed

$exists operator results in empty objects #959

gepo opened this issue Oct 9, 2014 · 0 comments

Comments

@gepo
Copy link

gepo commented Oct 9, 2014

In 1.0.0-BETA12 operator $exists make strange behavior:

    ->findBy(['catched' => ['$exists' => false]])

returns object with not filled fields, but if I use

    ->findBy(['userId' => 123])

returned objects are correct.
I revert doctrine-odm to 1.0.0-BETA11 and $exists works correctly.

I suppose that it's because of this change: #956

@gepo gepo closed this as completed Oct 9, 2014
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

No branches or pull requests

1 participant