MongoDB.local SF, Jan 15: See the speaker lineup & ship your AI vision faster. Use WEB50 to save 50%
Find out more >
Docs Menu
Docs Home
/ /
Object Constructors and Methods

WriteResult.hasWriteConcernError()

WriteResult.hasWriteConcernError()

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

Tip

Back

WriteResult.hasWriteError()

On this page