WriteResult.hasWriteConcernError()
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 server.
Definition
WriteResult.hasWriteConcernError()
Returns
true
if the result of amongosh
write method hasWriteResult.writeConcernError
. Otherwise, the method returnsfalse
.