lib/CosmoW/Riak/Collection.php
protected function doUpdate(array $query, array $newObj, array $options)
    {
        $options = isset($options['safe']) ? $this->convertWriteConcern($options) : $options;
        $options = isset($options['wtimeout']) ? $this->convertWriteTimeout($options) : $options;
        $options = isset($options['timeout']) ? $this->convertSocketTimeout($options) : $options;

        /* Allow "multi" to be used instead of "multiple", as it's accepted in
         * the Riak shell and other (non-PHP) drivers.
         */
        if (isset($options['multi']) && ! isset($options['multiple'])) {
            $options['multiple'] = $options['multi'];
            unset($options['multi']);
        }

        return $this->riakCollection->update($query, $newObj, $options);
    }
protected function doUpdate(array $query, array $newObj, array $options)
    {
        $options = isset($options['safe']) ? $this->convertWriteConcern($options) : $options;
        $options = isset($options['wtimeout']) ? $this->convertWriteTimeout($options) : $options;
        $options = isset($options['timeout']) ? $this->convertSocketTimeout($options) : $options;

        /* Allow "multi" to be used instead of "multiple", as it's accepted in
         * the Riak shell and other (non-PHP) drivers.
         */
        if (isset($options['multi']) && ! isset($options['multiple'])) {
            $options['multiple'] = $options['multi'];
            unset($options['multi']);
        }

        return $this->riakCollection->update($query, $newObj, $options);
    }
protected function doUpdate ( array $ query , array $ newObj , array $ options ) { $ options = isset ( $ options [ 'safe' ] ) ? $ this -> convertWriteConcern ( $ options ) : $ options ; $ options = isset ( $ options [ 'wtimeout' ] ) ? $ this -> convertWriteTimeout ( $ options ) : $ options ; $ options = isset ( $ options [ 'timeout' ] ) ? $ this -> convertSocketTimeout ( $ options ) : $ options ; /* Allow "multi" to be used instead of "multiple", as it's accepted in
         * the Riak shell and other (non-PHP) drivers.
         */ if ( isset ( $ options [ 'multi' ] ) && ! isset ( $ options [ 'multiple' ] ) ) { $ options [ 'multiple' ] = $ options [ 'multi' ] ; unset ( $ options [ 'multi' ] ) ; } return $ this -> riakCollection -> update ( $ query , $ newObj , $ options ) ; }
Execute the update query.

@see Collection::update()
@param array $query
@param array $newObj
@param array $options
@return array|boolean
Execute the update query .