Docs Home → MongoDB Manual
resetError
Removed in MongoDB 5.0.在MongoDB 5.0中删除。
The resetError command resets the last error status.resetError命令重置上次错误状态。
db.resetError() (also removed in MongoDB 5.0)(也在MongoDB 5.0中删除)
db.resetError()