Description Usage Arguments Details Value Author(s) See Also Examples
This function adds a new document to an already existing database
1 | cdbAddDoc(cdb)
|
cdb |
The list |
This function is called addDoc (which means add a new document). Therefore
the cdb$id
is requested using cdbGetUuid()
for every document
to add if no cdb$id
is provided. If a cdb$id
is provided the
function fails when a document with the given id already exists. In this
case one should use cdbUpdateDoc()
. Since version v0.6 the function
writes the _rev
and _id
key to the top level of
cdb$dataList
.
cdb |
The couchdb response is stored in |
wactbprot
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.