lib/Doctrine/CouchDB/CouchDBClient.php
public function ensureFullCommit()
    {
        $path = '/'.$this->databaseName.'/_ensure_full_commit';
        $response = $this->httpClient->request('POST', $path);
        if ($response->status != 201) {
            throw HTTPException::fromResponse($path, $response);
        }

        return $response->body;
    }
public function ensureFullCommit()
    {
        $path = '/'.$this->databaseName.'/_ensure_full_commit';
        $response = $this->httpClient->request('POST', $path);
        if ($response->status != 201) {
            throw HTTPException::fromResponse($path, $response);
        }

        return $response->body;
    }
public function ensureFullCommit ( ) { $ path = '/' . $ this -> databaseName . '/_ensure_full_commit' ; $ response = $ this -> httpClient -> request ( 'POST' , $ path ) ; if ( $ response -> status != 201 ) { throw HTTPException :: fromResponse ( $ path , $ response ) ; } return $ response -> body ; }
Commit any recent changes to the specified database to disk.

@throws HTTPException

@return array
Commit any recent changes to the specified database to disk .