IncrementOptions
class IncrementOptions (View source)
Methods
timeout(int $arg)
Sets the operation timeout in milliseconds.
expiry(mixed $arg)
Sets the expiry time for the document.
durabilityLevel(int $arg)
Sets the durability level to enforce when writing the document.
delta(int $arg)
Sets the value to increment the counter by.
initial(int $arg)
Sets the value to initialize the counter to if the document does not exist.
Details
IncrementOptions
timeout(int $arg)
Sets the operation timeout in milliseconds.
IncrementOptions
expiry(mixed $arg)
Sets the expiry time for the document.
IncrementOptions
durabilityLevel(int $arg)
Sets the durability level to enforce when writing the document.
IncrementOptions
delta(int $arg)
Sets the value to increment the counter by.
IncrementOptions
initial(int $arg)
Sets the value to initialize the counter to if the document does not exist.