CreateDocument creates a document on the peer. The test will fail if the document already exists.
(dsName sgbucket.DataStoreName, docID string, body []byte)
| 50 | |
| 51 | // CreateDocument creates a document on the peer. The test will fail if the document already exists. |
| 52 | CreateDocument(dsName sgbucket.DataStoreName, docID string, body []byte) BodyAndVersion |
| 53 | // WriteDocument upserts a document to the peer. The test will fail if the write does not succeed. Reasons for failure might be sync function rejections for Sync Gateway rejections. |
| 54 | WriteDocument(dsName sgbucket.DataStoreName, docID string, body []byte) BodyAndVersion |
| 55 | // DeleteDocument deletes a document on the peer. The test will fail if the document does not exist. |
no outgoing calls