delete() public method
Creates a DELETE SQL statement.
For example,
$sql = $queryBuilder->delete('idx_user', 'status = 0');
 The method will properly escape the index and column names.
| public string delete ( $index, $condition, &$params ) | ||
|---|---|---|
| $index | string | 
 The index where the data will be deleted from.  |  
| $condition | array|string | 
 The condition that will be put in the WHERE part. Please refer to yii\sphinx\Query::where() on how to specify condition.  |  
| $params | array | 
 The binding parameters that will be modified by this method so that they can be bound to the Sphinx command later.  |  
| return | string | 
 The DELETE SQL  |  
Please login to continue.