I would like to query a collection called orders using the default _id with an array that has the _ids that I need but when i try to save the result in another
let orderIds = ['example1', 'example2']
db.collection("orders").find({ _id: { $all: orderIds } }, function (err, orders) {
console.log(orders);
})