Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Event
Docs Menu
Docs Home
/
MongoDB Manual
/ / /

WriteResult.hasWriteError()

WriteResult.hasWriteError()

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

Tip

Back

WriteResult()

On this page