Pheasant\Query\Query::where PHP Method

where() public method

Sets the where clause to the provided sql, optionally binding parameters into the string.
public where ( $sql = null, $params = [] )
    public function where($sql = null, $params = array())
    {
        $this->_where = new Criteria($sql, $params);
        return $this;
    }