cdbListDB {R4CouchDB}R Documentation

Returns all databases on the server

Description

Gives a list of all databases available at cdb$serverName.

Usage

cdbListDB(cdb)

Arguments

cdb

Only the connection settings cdb$port and cdb$serverName is needed.

Details

The function uses the _all_dbs API end point .

Value

cdb

The result of the request is stored in cdb$res after converting the json answer into a list using cdb$fromJSON().

Author(s)

wactbprot

See Also

cdbMakeDB

Examples

## Not run: 
cdbListDB(cdbIni())$res

## End(Not run)

[Package R4CouchDB version 0.7.5 Index]