apoc.couchbase.prepend

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.prepend(hostOrKey, bucket, documentId, content, config) yield id, expiry, cas, mutationToken, content - prepend a couchbase json document to an existing one.

Signature

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

Input parameters

Name Type Default

hostOrKey

STRING?

null

bucket

STRING?

null

documentId

STRING?

null

content

BYTEARRAY?

null

config

MAP?

{}

Output parameters

Name Type

content

BYTEARRAY?

id

STRING?

expiry

INTEGER?

cas

INTEGER?

mutationToken

MAP?