Documentation

GetReplicaResult extends Result

Interface for results created by the getReplica operation.

Table of Contents

cas()  : string|null
Returns the CAS value for the document
content()  : array<string|int, mixed>|null
Returns the content of the document fetched
error()  : CouchbaseException|null
Returns the error (populated for multi-operations)
id()  : string
Returns the ID of the document
isReplica()  : bool
Returns whether or not the document came from a replica server

Methods

cas()

Returns the CAS value for the document

public cas() : string|null
Tags
since
4.0.0
Return values
string|null

content()

Returns the content of the document fetched

public content() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

id()

Returns the ID of the document

public id() : string
Tags
since
4.0.0
Return values
string

isReplica()

Returns whether or not the document came from a replica server

public isReplica() : bool
Return values
bool
Loading…

Search results