setWriteConcern() public method
Sets write concern for this command.
public $this setWriteConcern ( $writeConcern ) | ||
---|---|---|
$writeConcern | \MongoDB\Driver\WriteConcern|integer|string|null |
Write concern, it can be an instance of \MongoDB\Driver\WriteConcern or its scalar mode value, for example: |
return | $this |
Self reference |
Please login to continue.