OPTIONS
翻译或纠错本页面

WriteResult.hasWriteError()

Definition

WriteResult.hasWriteError()

Returns true if the result of a mongo shell write method has WriteResult.writeError. Otherwise, the method returns false.

参见

WriteResult()