- Reference >
mongoshMethods >- Object Constructors and Methods >
- WriteResult.hasWriteConcernError()
WriteResult.hasWriteConcernError()¶
On this page
Definition¶
-
WriteResult.hasWriteConcernError()¶ Returns
trueif the result of amongoshwrite method hasWriteResult.writeConcernError. Otherwise, the method returnsfalse.
See also