Replies: 1 comment
-
There is no defined limit, but the implementation is such that for each row in your index, all elements of your $in set will be applied in turn. So execution speed grows O(N*M) (N = $in set length, M = index length. And sending megabytes or more of a JSON $in array might lead to request timeouts and CPU spikes elsewhere in your system. How many items to you wanna send? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Is there any limitation around how many elements could be inside $in query?
Beta Was this translation helpful? Give feedback.
All reactions