public function updateLob(array $values, array $binaries, $sequence = 'id')
    {
        $bindings = array_values(array_merge($values, $this->getBindings()));

        /** @var \Yajra\Oci8\Query\Grammars\OracleGrammar $grammar */
        $grammar = $this->grammar;
        $sql     = $grammar->compileUpdateLob($this, $values, $binaries, $sequence);

        $values   = $this->cleanBindings($bindings);
        $binaries = $this->cleanBindings($binaries);

        /** @var \Yajra\Oci8\Query\Processors\OracleProcessor $processor */
        $processor = $this->processor;

        return $processor->saveLob($this, $sql, $values, $binaries);
    }
public function updateLob(array $values, array $binaries, $sequence = 'id')
    {
        $bindings = array_values(array_merge($values, $this->getBindings()));

        /** @var \Yajra\Oci8\Query\Grammars\OracleGrammar $grammar */
        $grammar = $this->grammar;
        $sql     = $grammar->compileUpdateLob($this, $values, $binaries, $sequence);

        $values   = $this->cleanBindings($bindings);
        $binaries = $this->cleanBindings($binaries);

        /** @var \Yajra\Oci8\Query\Processors\OracleProcessor $processor */
        $processor = $this->processor;

        return $processor->saveLob($this, $sql, $values, $binaries);
    }
public function updateLob ( array $ values , array $ binaries , $ sequence = 'id' ) { $ bindings = array_values ( array_merge ( $ values , $ this -> getBindings ( ) ) ) ; /** @var \Yajra\Oci8\Query\Grammars\OracleGrammar $grammar */ $ grammar = $ this -> grammar ; $ sql = $ grammar -> compileUpdateLob ( $ this , $ values , $ binaries , $ sequence ) ; $ values = $ this -> cleanBindings ( $ bindings ) ; $ binaries = $ this -> cleanBindings ( $ binaries ) ; /** @var \Yajra\Oci8\Query\Processors\OracleProcessor $processor */ $ processor = $ this -> processor ; return $ processor -> saveLob ( $ this , $ sql , $ values , $ binaries ) ; }
Update a new record with blob field.

@param  array $values
@param  array $binaries
@param  string $sequence
@return bool
Update a new record with blob field .