How-to-query-mongo-to-find-arrays-that-contain-any-of-the-elements-from-another-array%3fI am having arrays in collection like this
{
arr: [1,3,4,6,7,0]
}
,
{
arr: [2,3,5,6]
},
{
arr: [2,6,7,9]
}
And if i make a query with another array say [2,5], it should return
{
arr: [2,3,5,6]
}