src/Phossa/Query/Clause/SetTrait.php
protected function setWithArrayData(array $data)
    {
        // multiple rows
        if (isset($data[0])) {
            foreach ($data as $row) {
                is_array($row) ? $this->setWithArrayData($row) :
                    $this->set($row);
            }
            return $this;

        // multiple values
        } else {
            foreach ($data as $col => $val) {
                $this->set($col, $val);
            }
        }

        // increase rownum
        $this->clause_rownum++;

        return $this;
    }
protected function setWithArrayData(array $data)
    {
        // multiple rows
        if (isset($data[0])) {
            foreach ($data as $row) {
                is_array($row) ? $this->setWithArrayData($row) :
                    $this->set($row);
            }
            return $this;

        // multiple values
        } else {
            foreach ($data as $col => $val) {
                $this->set($col, $val);
            }
        }

        // increase rownum
        $this->clause_rownum++;

        return $this;
    }
Batch SET

@param  array $data
@return self
@access protected