Documentation

CounterResult extends MutationResult

Interface for results created by the counter operation.

Table of Contents

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

Methods

content()

Returns the new value of the counter

public content( ) : int
Return values
int

cas()

Returns the CAS value for the document

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

Search results