apoc.couchbase.prepend

Procedure APOC Full

apoc.couchbase.prepend(hostOrKey, bucket, documentId, jsonDocument) 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?, json :: STRING?) :: (id :: STRING?, expiry :: INTEGER?, cas :: INTEGER?, mutationToken :: MAP?, content :: MAP?)

Input parameters

Name Type Default

hostOrKey

STRING?

null

bucket

STRING?

null

documentId

STRING?

null

json

STRING?

null

Output parameters

Name Type

id

STRING?

expiry

INTEGER?

cas

INTEGER?

mutationToken

MAP?

content

MAP?