翻译或纠错本页面

db.getPrevError()

db.getPrevError()
返回:A status document, containing the errors.

1.6 版后已移除.

This output reports all errors since the last time the database received a resetError (also db.resetError()) command.

This method provides a wrapper around the getPrevError command.