remove() public method
Removes data from the collection.
| public integer|boolean remove ( $condition = [], $options = [] ) | ||
|---|---|---|
| $condition | array |
Description of records to remove. |
| $options | array |
List of options in format: optionName => optionValue. |
| return | integer|boolean |
Number of updated documents or whether operation was successful. |
| throws | yii\mongodb\Exception |
on failure. |
Please login to continue.