how to display array of documents in mongodb using mongoose code example Example: mongoose query using an arry var query = PUser.find({'userID': {$in:array}});