apoc.couchbase.prepend
Procedure APOC Full
apoc.couchbase.prepend(hostOrKey, bucket, documentId, content) 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? |
{} |