UpsertOptions
class UpsertOptions (View source)
Methods
timeout(int $arg)
Sets the operation timeout in milliseconds.
expiry(mixed $arg)
Sets the expiry time for the document.
preserveExpiry(bool $shouldPreserve)
Sets whether the original expiration should be preserved (by default Replace operation updates expiration).
durabilityLevel(int $arg)
Sets the durability level to enforce when writing the document.
encoder(callable $arg)
Associate custom transcoder with the request.
Details
UpsertOptions
timeout(int $arg)
Sets the operation timeout in milliseconds.
UpsertOptions
expiry(mixed $arg)
Sets the expiry time for the document.
UpsertOptions
preserveExpiry(bool $shouldPreserve)
Sets whether the original expiration should be preserved (by default Replace operation updates expiration).
UpsertOptions
durabilityLevel(int $arg)
Sets the durability level to enforce when writing the document.
UpsertOptions
encoder(callable $arg)
Associate custom transcoder with the request.