addUpdate() public method
Adds the update operation to the batch command.
See also executeBatch().
| public $this addUpdate ( $condition, $document, $options = [] ) | ||
|---|---|---|
| $condition | array |
Filter condition |
| $document | array |
Data to be updated |
| $options | array |
Update options. |
| return | $this |
Self reference. |
Please login to continue.