-
Notifications
You must be signed in to change notification settings - Fork 92
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
Array query operators #26
Comments
When will be the next release? I would love to have this feature. But I really need sequences over EmbeddedModels, and I don't know if I should open a new issue (or there is already one) e.g.:
The query could be something like:
but I would love much more:
Looking about what MongoDB allows to do, it seems that we can query over arrays with the "any" operator transparently, i.e.:
and
would be the same. This is especially interesting for embedded models:
which should read like "Tell me which books have at least one author with name "Frederick Forsyth". Thanks again for this great piece of software. |
Hey @erny. Thanks for your enthusiasm 😄 . I totally agree with the use case you described and it should definitely possible to have it with this feature ! |
Any update on that? |
我也在等待这个功能的实现 |
Suggested implementation of $elemMatch $all and $size
MongoDB Reference
$elemMatch
Array containing the number 42 at least once:
$elemMatch
Array containing only elements greater than 12:
$size
Array containing more than 3 elements:
The text was updated successfully, but these errors were encountered: