CouchdbClient::deleteDatabase

Deletes a CouchDB database.

Description

public bool CouchdbClient::deleteDatabase ([ string $db_name ] )

Warning

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

Parameters

db_name

The name of the database to be deleted.

Return Values

Returns true on success.

Errors/Exceptions

Throws CouchdbClientException.

Examples

Example #1 CouchdbClient::deleteDatabase example

<?php

/* ... */

?>

The above example will output something similar to:

...