lib/Doctrine/CouchDB/CouchDBClient.php
public function getUuids($count = 1)
    {
        $count = (int) $count;
        $response = $this->httpClient->request('GET', '/_uuids?count='.$count);

        if ($response->status != 200) {
            throw new CouchDBException('Could not retrieve UUIDs from CouchDB.');
        }

        return $response->body['uuids'];
    }
public function getUuids($count = 1)
    {
        $count = (int) $count;
        $response = $this->httpClient->request('GET', '/_uuids?count='.$count);

        if ($response->status != 200) {
            throw new CouchDBException('Could not retrieve UUIDs from CouchDB.');
        }

        return $response->body['uuids'];
    }
public function getUuids ( $ count = 1 ) { $ count = ( int ) $ count ; $ response = $ this -> httpClient -> request ( 'GET' , '/_uuids?count=' . $ count ) ; if ( $ response -> status != 200 ) { throw new CouchDBException ( 'Could not retrieve UUIDs from CouchDB.' ) ; } return $ response -> body [ 'uuids' ] ; }
Let CouchDB generate an array of UUIDs.

@param int $count

@throws CouchDBException

@return array
Let CouchDB generate an array of UUIDs .