CouchdbClient::deleteDoc

Deletes a couchDB document.

Description

public bool CouchdbClient::deleteDoc ( string $doc_id , string $rev )

Warning

This function is currently not documented; only its argument list is available.

Parameters

doc_id

The document DocID.

rev

The document revision.

Return Values

Returns true on success.

Errors/Exceptions

Throws CouchdbClientException.

Examples

Example #1 CouchdbClient::deleteDoc example

<?php

/* ... */

?>

The above example will output something similar to:

...