Remove records from this collection
public remove ( array $criteria = [], array $options = [] ) : boolean | array | ||
$criteria | array | Query criteria for the documents to delete. |
$options | array | An array of options for the remove operation. |
return | boolean | array | Returns an array containing the status of the removal if the "w" option is set. Otherwise, returns TRUE. |