We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[x] Feature request
Currently, the only options to query at array property level is $contains and $size.
$contains
$size
See techfort/LokiJS/issues/447
Introduce a new operator (like $array) which enables all other operations ($neq, $lt...) at each element of an array.
$array
coll.insert({ar: [1, 2, 3, 4]}); coll.find({ $array: ["ar", { $lt: 2 }] });
More useful operator.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm submitting a...
Current behavior
Currently, the only options to query at array property level is
$contains
and$size
.See techfort/LokiJS/issues/447
Expected behavior
Introduce a new operator (like
$array
) which enables all other operations ($neq, $lt...) at each element of an array.Minimal reproduction of the problem with instructions
What is the motivation/use case for changing the behavior?
More useful operator.
The text was updated successfully, but these errors were encountered: