pymongo find many based on a list code example
Example 1: mongodb find element in array
db.yourCollection.find( { array: "element" } )
Example 2: mongoose query using an arry
var query = PUser.find({'userID': {$in:array}});
db.yourCollection.find( { array: "element" } )
var query = PUser.find({'userID': {$in:array}});