Метод |
Описание |
|
__construct ( MongoDB\Driver\WriteResult $writeResult, array $insertedIds ) |
Constructor. |
|
getDeletedCount ( ) : integer |
Return the number of documents that were deleted. |
|
getInsertedCount ( ) : integer |
Return the number of documents that were inserted. |
|
getInsertedIds ( ) : mixed[] |
Return a map of the inserted documents' IDs. |
|
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. |
|
getUpsertedIds ( ) : mixed[] |
Return a map of the upserted documents' IDs. |
|
isAcknowledged ( ) : boolean |
Return whether this update was acknowledged by the server. |
|