remove() public method
Removes data from the collection.
public integer|boolean remove ( $collection, $condition = [], $options = [] ) | ||
---|---|---|
$collection | array|string |
Collection name. |
$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. |
Please login to continue.