Docs Menu

WriteResult.hasWriteConcernError()

On this page

WriteResult.hasWriteConcernError()

Returns true if the result of a mongosh write method has WriteResult.writeConcernError. Otherwise, the method returns false.

Tip

See also:

On this page