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

With no indices given, no match against array of objects with array as a property in each object #51

Closed
lackofbrilliance opened this issue Jun 21, 2017 · 3 comments
Assignees
Labels

Comments

@lackofbrilliance
Copy link
Contributor

lackofbrilliance commented Jun 21, 2017

Given this document:
{ "key0" : [ { "key1" : [ "value" ] }, { "key1" : [ "value1" ] } ] }

This query will match using MongoDB version 3.2.12:
{ "key0.key1": { "$eq": "value" } }
However, mingo fails to match.

@kofrasa
Copy link
Owner

kofrasa commented Jun 22, 2017

This is similar to an issue I addressed in the past #19. Perhaps I missed an edge case. I will run a test to verify.

[EDIT]
Verified bug. The linked issue is different and not the same class of bug

Thanks

@kofrasa kofrasa added the bug label Jun 22, 2017
@kofrasa kofrasa self-assigned this Jun 22, 2017
kofrasa added a commit that referenced this issue Jun 22, 2017
@kofrasa
Copy link
Owner

kofrasa commented Jun 22, 2017

Fix fa67453

@kofrasa
Copy link
Owner

kofrasa commented Jun 27, 2017

Will be made available in release 1.2.0

@kofrasa kofrasa closed this as completed Jun 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants