Why my collection.find() does not work in meteor but work in robomongo?
问题 I have a publication that should return me all users matching an _id array. here it the query: Meteor.users.find({ '_id': { $in: myArray}},{ 'profile.name':1, 'profile.description':1, 'profile.picture':1, 'profile.website':1, 'profile.country':1} ); When I run it in Robomongo (the mongo browser), it works. But my publication only returns undefined . when I console.log(myArray); in the publication, I get something like this ['FZ78Pr82JPz66Gc3p'] . This is what I paste in my working Robomongo