db.resetError()
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoDB server.
db.resetError()
Removed in MongoDB 5.0.
Provides a wrapper around the
resetError
command (also removed in MongoDB 5.0).