Docs Menu

Docs HomeMongoDB Manual

WriteResult.hasWriteConcernError()

On this page

  • Definition
WriteResult.hasWriteConcernError()

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

Tip

See also:

←  WriteResult.hasWriteError()Connection Methods →

On this page

Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.