Documentation

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

Methods

cas()

Returns the CAS value for the document

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

id()

Returns the ID of the document

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

        

Search results