WriteResult.hasWriteError()
On this page
This version of the documentation is archived and no longer
supported. View the current documentation to learn how to
upgrade your version of MongoDB.
Definition
WriteResult.hasWriteError()
Returns
true
if the result of amongo
shell write method hasWriteResult.writeError
. Otherwise, the method returnsfalse
.