ScotlandPHP

The MongoDB\Driver\WriteResult class

(mongodb >=1.0.0)

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

final MongoDB\Driver\WriteResult {
/* Methods */
final public integer|null getDeletedCount ( void )
final public integer|null getInsertedCount ( void )
final public integer|null getMatchedCount ( void )
final public integer|null getModifiedCount ( void )
final public MongoDB\Driver\Server getServer ( void )
final public integer|null getUpsertedCount ( void )
final public array getUpsertedIds ( void )
final public MongoDB\Driver\WriteConcernError|null getWriteConcernError ( void )
final public array getWriteErrors ( void )
final public boolean isAcknowledged ( void )
}

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top