src/Command.php
public function update($table, $columns, $condition = [], array $params = [])
    {
        $request = $this->db->getQueryBuilder()->update($table, $columns, $condition, $params);

        return $this->setRequest($request);
    }
public function update($table, $columns, $condition = [], array $params = [])
    {
        $request = $this->db->getQueryBuilder()->update($table, $columns, $condition, $params);

        return $this->setRequest($request);
    }
public function update ( $ table , $ columns , $ condition = [ ] , array $ params = [ ] ) { $ request = $ this -> db -> getQueryBuilder ( ) -> update ( $ table , $ columns , $ condition , $ params ) ; return $ this -> setRequest ( $ request ) ; }
Sends a request to update data.
@param mixed $table entity to update
@param mixed $columns attributes of object to update
@param array $condition
@param array $params request parameters
@return $this
Sends a request to update data .