Java com.mongodb WriteResult fields, constructors, methods, implement or subclass

Example usage for Java com.mongodb WriteResult fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.mongodb WriteResult.

The text is from its open source code.

Constructor

Method

intgetN()
Gets the "n" field, which contains the number of documents affected in the write operation.
ObjectgetUpsertedId()
Gets the _id value of an upserted document that resulted from this write.
booleanisUpdateOfExisting()
Returns true if this write resulted in an update of an existing document.
StringtoString()
booleanwasAcknowledged()
Returns true if the write was acknowledged.