Mongodb – mongoose find where _id is in an array of objects
I have the following variable in my code: const data = [ { _id: "66324310da5f0f7575da0292", from: "66324110da5f0f7275cd8949" }, { _id: "66324350sa5f0sdd575da0s92", from: "62a34303530f3275c3d99" } ] I want to find all users where their _id is equal to any from value…