Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
Click here >
Docs Menu
Docs Home
/ /
Databases

db.resetError()

db.resetError()

Removed in MongoDB 5.0.

Provides a wrapper around the resetError command (also removed in MongoDB 5.0).

Back

db.printShardingStatus