delete() public method
Executes the query and deletes all matching documents.
Everything except query and filter will be ignored.
public array delete ( $db = null, $options = [] ) | ||
---|---|---|
$db | yii\elasticsearch\Connection |
The database connection used to execute the query. If this parameter is not given, the |
$options | array |
The options given with this query. |
return | array |
The query results. |
Please login to continue.