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

Add support for $elemMatch find query operator #81

Open
jpx opened this issue Jul 5, 2017 · 0 comments
Open

Add support for $elemMatch find query operator #81

jpx opened this issue Jul 5, 2017 · 0 comments

Comments

@jpx
Copy link

jpx commented Jul 5, 2017

Hi,

I would like to see $elemMatch find query (array) operator implemented in LinvoDB and am willing to contribute to it.
However, I am not sure where to start as there already is implementation for array of sub-queries ($and, $or...) but not for sub-queries on array fields ($elemMatch for instance, see https://docs.mongodb.com/manual/reference/operator/query/#array).

Do you have any leads to implement it ?

It is documented here https://docs.mongodb.com/manual/reference/operator/query/elemMatch/.

Edit: I might actually have a simple solution here, however it does not use indexes at all. Some more work is involved to run fully indexed $elemMatch queries.

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