The MongoDB\Driver\WriteResult class

Introduction

The MongoDB\Driver\WriteResult class encapsulates information about an executed MongoDB\Driver\BulkWrite and may be returned by MongoDB\Driver\Manager::executeBulkWrite.

Class synopsis

MongoDB\Driver\WriteResult
final class MongoDB\Driver\WriteResult {
/* Methods */
final public intnull getDeletedCount()
final public intnull getInsertedCount()
final public intnull getMatchedCount()
final public intnull getModifiedCount()
final public MongoDB\Driver\Server getServer()
final public intnull getUpsertedCount()
final public array getUpsertedIds()
final public MongoDB\Driver\WriteConcernErrornull getWriteConcernError()
final public array getWriteErrors()
final public bool isAcknowledged()
}
Table of Contents