src/Model.php
protected function _update(array $cols, $where = null, ?array $bind = null, ?int $limit = null) {
        $query = self::Db()->update($this->_table)->cols($cols);
        if (isset($where))
            $query->where($where);
        if (isset($bind))
            $query->bindValues($bind);
        if (isset($limit))
            $query->limit($limit);
        return $query->query();
    }
protected function _update(array $cols, $where = null, ?array $bind = null, ?int $limit = null) {
        $query = self::Db()->update($this->_table)->cols($cols);
        if (isset($where))
            $query->where($where);
        if (isset($bind))
            $query->bindValues($bind);
        if (isset($limit))
            $query->limit($limit);
        return $query->query();
    }
MySQL UPDATE

@param array $cols
@param mixed $where
@param array|null $bind
@param int|null $limit
@return mixed