So, I have a database with a load of arrays in documents in it. I want to find entire documents where my queries are an exact match for one or more array elements using $i
$i
Just try this (Tested)
{ "unusual": { $all:[{ $elemMatch:{"defindex":313}, $elemMatch:{"_particleEffect":6} }] } }