Method | Description | |
---|---|---|
__construct ( MongoDB\Driver\WriteResult $writeResult, mixed $insertedId ) | Constructor. | |
getInsertedCount ( ) : integer | Return the number of documents that were inserted. | |
getInsertedId ( ) : mixed | Return the inserted document's ID. | |
isAcknowledged ( ) : boolean | Return whether this insert was acknowledged by the server. |
public __construct ( MongoDB\Driver\WriteResult $writeResult, mixed $insertedId ) | ||
$writeResult | MongoDB\Driver\WriteResult | |
$insertedId | mixed |
public getInsertedCount ( ) : integer | ||
return | integer |
public getInsertedId ( ) : mixed | ||
return | mixed |
public isAcknowledged ( ) : boolean | ||
return | boolean |