Method | Description | |
---|---|---|
__construct ( MongoDB\Driver\WriteResult $writeResult, array $insertedIds ) | Constructor. | |
getInsertedCount ( ) : integer | Return the number of documents that were inserted. | |
getInsertedIds ( ) : mixed[] | Return a map of the inserted documents' IDs. | |
isAcknowledged ( ) : boolean | Return whether this insert result was acknowledged by the server. |
public __construct ( MongoDB\Driver\WriteResult $writeResult, array $insertedIds ) | ||
$writeResult | MongoDB\Driver\WriteResult | |
$insertedIds | array |
public getInsertedCount ( ) : integer | ||
return | integer |
public getInsertedIds ( ) : mixed[] | ||
return | mixed[] |
public isAcknowledged ( ) : boolean | ||
return | boolean |