Docs Menu

WriteResult.hasWriteConcernError()

On this page

  • Definition
WriteResult.hasWriteConcernError()

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

Tip
See also:

On this page

Give Feedback
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.