src/Query.php
protected function __render_where($kind)
    {
        // will be joined for output
        $ret = [];

        // where() might have been called multiple times. Collect all conditions,
        // then join them with AND keyword
        foreach ($this->args[$kind] as $row) {
            $ret[] = $this->__render_condition($row);
        }

        return $ret;
    }
protected function __render_where($kind)
    {
        // will be joined for output
        $ret = [];

        // where() might have been called multiple times. Collect all conditions,
        // then join them with AND keyword
        foreach ($this->args[$kind] as $row) {
            $ret[] = $this->__render_condition($row);
        }

        return $ret;
    }
Subroutine which renders either [where] or [having].

@param string $kind 'where' or 'having'

@return array Parsed chunks of query