- Reference >
mongosh
Methods >- Object Constructors and Methods >
- WriteResult.hasWriteConcernError()
WriteResult.hasWriteConcernError()¶
On this page
Definition¶
-
WriteResult.
hasWriteConcernError
()¶ Returns
true
if the result of amongosh
write method hasWriteResult.writeConcernError
. Otherwise, the method returnsfalse
.
See also