CouchdbClient::deleteAttachment
Deletes an attachment.
Description
public array CouchdbClient::deleteAttachment
( string $doc_id
, string $attachment_name
[, string $doc_rev
] )
WarningThis function is
currently not documented; only its argument list is available.
Parameters
-
doc_id
-
The CouchDB document DocID.
-
attachment_name
-
The name of the attachment.
-
doc_rev
-
The document revision of the couchDB document.
Return Values
Returns an array representing the server response.
Errors/Exceptions
Throws CouchdbClientException.
Examples
Example #1 CouchdbClient::deleteAttachment example
The above example will output
something similar to: