mongosh
mongo
resetError
Removed in MongoDB 5.0.
The resetError command resets the last error status.
db.resetError() (also removed in MongoDB 5.0)
db.resetError()
Back
insert
Next
update