interface CounterResult implements MutationResult (View source)

Interface for results created by the counter operation.

Methods

string|null
cas()

Returns the CAS value for the document

from  Result
mutationToken()

Returns the mutation token generated during the mutation

int
content()

Returns the new value of the counter

Details

string|null cas()

Returns the CAS value for the document

Return Value

string|null

MutationToken|null mutationToken()

Returns the mutation token generated during the mutation

Return Value

MutationToken|null

int content()

Returns the new value of the counter

Return Value

int