apoc.couchbase.replace

This is the APOC Extended documentation.

APOC Extended is not supported by Neo4j. For the officially supported APOC Core, go to the APOC Core page.

Procedure Apoc Extended

apoc.couchbase.replace(hostOrKey, bucket, documentId, jsonDocument, config) yield id, expiry, cas, mutationToken, content - replace the content of the couchbase json document identified by its unique ID.

Signature

apoc.couchbase.replace(hostOrKey :: STRING?, bucket :: STRING?, documentId :: STRING?, json :: STRING?, config = {} :: MAP?) :: (content :: MAP?, id :: STRING?, expiry :: INTEGER?, cas :: INTEGER?, mutationToken :: MAP?)

Input parameters

Name Type Default

hostOrKey

STRING?

null

bucket

STRING?

null

documentId

STRING?

null

json

STRING?

null

config

MAP?

{}

Output parameters

Name Type

content

MAP?

id

STRING?

expiry

INTEGER?

cas

INTEGER?

mutationToken

MAP?