Documentation

CounterResult extends MutationResult

Interface for results created by the counter operation.

Table of Contents

cas()  : string|null
Returns the CAS value for the document
content()  : int
Returns the new value of the counter
mutationToken()  : MutationToken|null
Returns the mutation token generated during the mutation

Methods

cas()

Returns the CAS value for the document

public cas() : string|null
Return values
string|null

content()

Returns the new value of the counter

public content() : int
Return values
int

Search results