src/AbstractQueryBuilder.php
public function update($table, $columns, $condition = [], array $options = [])
    {
        $query = $this->createQuery('update', $table, $options)->body($columns)->where($condition);

        return $this->createRequest($query);
    }
public function update($table, $columns, $condition = [], array $options = [])
    {
        $query = $this->createQuery('update', $table, $options)->body($columns)->where($condition);

        return $this->createRequest($query);
    }
public function update ( $ table , $ columns , $ condition = [ ] , array $ options = [ ] ) { $ query = $ this -> createQuery ( 'update' , $ table , $ options ) -> body ( $ columns ) -> where ( $ condition ) ; return $ this -> createRequest ( $ query ) ; }
Creates update request.
@param string $table
@param array $columns
@param array $condition
@param array $options
@return AbstractRequest
Creates update request .