Last data update: 2014.03.03

R: Function for request some ids
cdbGetUuidSR Documentation

Function for request some ids

Description

Function returns a 128bit uuid requested from CouchDB

Usage

cdbGetUuidS(cdb)

Arguments

cdb

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

Details

CouchDB API provides the url http://serverName:port/_uuids for those clients who aren't able to create those ids. The number N of ids received from a CouchDB can be set by cdb$count <- N since version 0.6. The function writes to cdb$res (in opposite to cdbGetUuid() whitch writes to cdb$id)

Value

cdb

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

Author(s)

wactbprot

See Also

cdbMakeDB

Examples

## Not run: 
ccc            <- cdbIni()
ccc$count      <- 100
cdbGetUuidS(ccc)$res

## End(Not run)

Results