apoc.couchbase.get

Procedure

apoc.couchbase.get(hostOrKey, bucket, documentId) yield id, expiry, cas, mutationToken, content - retrieves a couchbase json document by its unique ID.

Signature

apoc.couchbase.get(hostOrKey :: STRING?, bucket :: STRING?, documentId :: 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

Output parameters

Name Type

id

STRING?

expiry

INTEGER?

cas

INTEGER?

mutationToken

MAP?

content

MAP?