Documentation

IncrementOptions

Table of Contents

timeout() Sets the operation timeout in milliseconds. IncrementOptions
expiry() Sets the expiry time for the document. IncrementOptions
durabilityLevel() Sets the durability level to enforce when writing the document. IncrementOptions
delta() Sets the value to increment the counter by. IncrementOptions
initial() Sets the value to initialize the counter to if the document does not exist. IncrementOptions

Methods

durabilityLevel()

Sets the durability level to enforce when writing the document.

public durabilityLevel( $arg : int ) : IncrementOptions
Parameters
$arg : int

the durability level to enforce

Return values
IncrementOptions

initial()

Sets the value to initialize the counter to if the document does not exist.

public initial( $arg : int ) : IncrementOptions
Parameters
$arg : int

the initial value to use if counter does not exist

Return values
IncrementOptions

Search results