Reputation: 734
I have a collection named Vendor
and I want to find all vendors whose IDs are in a list of IDs. Is there any way to do it in Sails.js or I must iterate over the list to find those whose IDs match with one item in the list.
I'm using MongoDB in Sails.
Upvotes: 0
Views: 42