how to get value inside array with many keys in mongoose code example Example: mongoose query using an arry var query = PUser.find({'userID': {$in:array}});