Bolt\Storage\Query\SelectQuery::setWhereParameter PHP Method

setWhereParameter() public method

Sets all the parameters for a specific field name.
public setWhereParameter ( string $key, mixed $value )
$key string
$value mixed
    public function setWhereParameter($key, $value)
    {
        foreach ($this->filters as $filter) {
            if ($filter->hasParameter($key)) {
                $filter->setParameter($key, $value);
            }
        }
    }