GetReplicaResult
extends
Result
in
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
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 —error()
Returns the error (populated for multi-operations)
public
error() : CouchbaseException|null
Tags
Return values
CouchbaseException|null —id()
Returns the ID of the document
public
id() : string
Tags
Return values
string —isReplica()
Returns whether or not the document came from a replica server
public
isReplica() : bool