cdbRemoveDB {R4CouchDB} | R Documentation |
Function to remove a database
Description
Removing a database means sending a http- "DELETE"- request to
http://cdb$serverName:cdb$port/ ...
Usage
cdbRemoveDB(cdb)
Arguments
cdb |
The |
Details
In cdb
a entry cdb$delDBName
should be provided for more
explicit deleting respectively more secure removing.
Value
cdb |
The CouchDB answer is stored in |
Author(s)
wactbprot
See Also
cdbMakeDB
Examples
## Not run:
ccc <- cdbIni()
ccc$newDBName <- "r4couchdb_db"
ccc <- cdbMakeDB(ccc)
ccc$res
ccc$removeDBName <- ccc$DBName
cdbRemoveDB(ccc)$res
## End(Not run)
[Package R4CouchDB version 0.7.5 Index]