mongodb get multiple documents by id
# For one record only
db.getCollection('collection_name').find(
{
"_id": ObjectId("55880c251df42d0466919268")
}
);
# For multiple records
db.getCollection('collection_name').find(
{
"_id" : {
"$in" : [
ObjectId("55880c251df42d0466919268"),
ObjectId("55bf528e69b70ae79be35006")
]
}
}
);