Yes, this is possible. You have to use “in” instead of eq.
e.g
{ rule: "{$arr: { in: [\"one\"] } }" }
So it will check if there is any “one” in the array.
Yes, this is possible. You have to use “in” instead of eq.
e.g
{ rule: "{$arr: { in: [\"one\"] } }" }
So it will check if there is any “one” in the array.