finding document based on different input mongodb
Try this one:
let inputBondNumbers = ["100000000001","00000001","000001","0001"]let users = await db.collectionNameHere.find({ bondNumber: {$in : inputBondNumbers}})
Try this one:
let inputBondNumbers = ["100000000001","00000001","000001","0001"]let users = await db.collectionNameHere.find({ bondNumber: {$in : inputBondNumbers}})