lib/CosmoW/Riak/Collection.php
protected function doSave(array &$a, 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;
        return $this->riakCollection->save($a, $options);
    }
protected function doSave(array &$a, 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;
        return $this->riakCollection->save($a, $options);
    }
protected function doSave ( array & $ a , 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 ; return $ this -> riakCollection -> save ( $ a , $ options ) ; }
Execute the save query.

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