There are some data in my mongodb collection like this :
{"_id":{"$oid":"60603f0075ee1d1cdcd95d1a"},
"store_id":{"$oid":"60603dd675ee1d1cdcd95d18"},
"product_id":{"$oid":"6062f6973f24de12f0264013"}}
I wanna pass query , my query is list of store_id if all of element of list is exist in database return something like true else if even one of the element not match in database return something like false...
I can check one by one and use findOne ,but i don't wanna to check one by one!
Update: I can do this by for and findOne but i don't wanna send a lot of query to db !