pablocattaneo
1/18/2019 - 9:49 AM

How to get one document in mongodb?

db.collectionName.find({ key:value })

// Example:
db.usersToSendEmail.find({_id: ObjectId("5c405972f3d33522c6242d31")})