MutationResult
extends Result
in package
Interface for results created by operations that perform mutations.
Table of Contents
- $cas : string|null
- $error : CouchbaseException|null
- $id : string
- $mutationToken : MutationToken|null
- cas() : string|null
- Returns the CAS value for the document
- error() : CouchbaseException|null
- Returns the error (populated for multi-operations)
- id() : string
- Returns the ID of the document
- mutationToken() : MutationToken|null
- Returns the mutation token generated during the mutation
Properties
$cas
private
string|null
$cas
= null
$error
private
CouchbaseException|null
$error
= null
$id
private
string
$id
$mutationToken
private
MutationToken|null
$mutationToken
= null
Methods
cas()
Returns the CAS value for the document
public
cas() : string|null
Tags
Return values
string|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 —mutationToken()
Returns the mutation token generated during the mutation
public
mutationToken() : MutationToken|null