I have a Mongo Collection like below :
I am trying to write a query that returns the objects based on given fromS and toS in the array .
example of my array is :
[{
"from": "London",
"to":"New York"},
{
"from": "Manchester",
"to": "Paris"
}]
My expected result for giving above array to the query is to get object 5, and 6.