Mongoose findOne ausschließt das Pertikularfeld aus

//Return the User document without having password field
User.findOne({_id: userId}).select("-password")

//Incase wants to add excluded field
User.findOne({_id: userId}).select("+password")
Jaimin Patel