elasticsearch\Query delete()

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 elasticsearch application component will be used.

$options array

The options given with this query.

return array

The query results.

doc_Yii
2016-10-30 17:02:05
Comments
Leave a Comment

Please login to continue.