Method |
Description |
|
__construct ( MongoDB\Driver\WriteResult $writeResult ) |
Constructor. |
|
getMatchedCount ( ) : integer |
Return the number of documents that were matched by the filter. |
|
getModifiedCount ( ) : integer | null |
Return the number of documents that were modified. |
|
getUpsertedCount ( ) : integer |
Return the number of documents that were upserted. |
|
getUpsertedId ( ) : mixed | null |
Return the ID of the document inserted by an upsert operation. |
|
isAcknowledged ( ) : boolean |
Return whether this update was acknowledged by the server. |
|