Navigation
This version of the manual is no longer supported. Learn more about upgrading your version of MongoDB.

WriteResult.hasWriteError()

On this page

Definition

WriteResult.hasWriteError()

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

See also

WriteResult()