Documentation

DecrementOptions

Table of Contents

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

Methods

durabilityLevel()

Sets the durability level to enforce when writing the document.

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

the durability level to enforce

Return values
DecrementOptions

initial()

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

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

the initial value to use if counter does not exist

Return values
DecrementOptions

Search results