I am having a mongodb query to retrieve all results which are present in a list .Below is the existing a query
const mids = [1,2,3,4] User.find({mid:{$in :mids}},