yii\db\QueryInterface::filterWhere PHP Method

filterWhere() public method

Sets the WHERE part of the query ignoring empty parameters.
See also: andFilterWhere()
See also: orFilterWhere()
public filterWhere ( array $condition )
$condition array the conditions that should be put in the WHERE part. Please refer to [[where()]] on how to specify this parameter.
    public function filterWhere(array $condition);