cdbDeleteDoc {R4CouchDB}R Documentation

Deletes a document from a database

Description

With a given cdb$id this function sends a http "DELETE" request to the url .../cdb$id?rev=cdb$rev.

Usage

cdbDeleteDoc(cdb)

Arguments

cdb

Beside cdb$serverName, cdb$port and cdb$DBName the cdb$id must be given. R errors are reported in cdb$errors

Value

cdb

The result of the delete request is stored in cdb$res(whatever this means).

Author(s)

wactbprot

See Also

cdbAddDoc()


[Package R4CouchDB version 0.7.5 Index]