ReplaceOptions
class ReplaceOptions (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).
cas(string $arg)
Sets the cas value for the operation.
durabilityLevel(int $arg)
Sets the durability level to enforce when writing the document.
encoder(callable $arg)
Associate custom transcoder with the request.
Details
ReplaceOptions
timeout(int $arg)
Sets the operation timeout in milliseconds.
ReplaceOptions
expiry(mixed $arg)
Sets the expiry time for the document.
ReplaceOptions
preserveExpiry(bool $shouldPreserve)
Sets whether the original expiration should be preserved (by default Replace operation updates expiration).
ReplaceOptions
cas(string $arg)
Sets the cas value for the operation.
ReplaceOptions
durabilityLevel(int $arg)
Sets the durability level to enforce when writing the document.
ReplaceOptions
encoder(callable $arg)
Associate custom transcoder with the request.