cdbListDB: Returns all databases on the server

Description Usage Arguments Details Value Author(s) See Also Examples

Description

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

Usage

1
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

1
2
3
4
## Not run: 
cdbListDB(cdbIni())$res

## End(Not run)

R4CouchDB documentation built on May 2, 2019, 6:05 a.m.