class MutateInOptions (View source)

Methods

timeout(int $arg)

Sets the operation timeout in milliseconds.

cas(string $arg)

Sets the cas value to use when performing this operation.

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.

storeSemantics(int $arg)

Sets the document level action to use when performing the operation.

Details

MutateInOptions timeout(int $arg)

Sets the operation timeout in milliseconds.

Parameters

int $arg

the operation timeout to apply

Return Value

MutateInOptions

MutateInOptions cas(string $arg)

Sets the cas value to use when performing this operation.

Parameters

string $arg

the cas value to use

Return Value

MutateInOptions

MutateInOptions expiry(mixed $arg)

Sets the expiry time for the document.

Parameters

mixed $arg

the relative expiry time in seconds or DateTimeInterface object for absolute point in time

Return Value

MutateInOptions

MutateInOptions preserveExpiry(bool $shouldPreserve)

Sets whether the original expiration should be preserved (by default Replace operation updates expiration).

Parameters

bool $shouldPreserve

if true, the expiration time will not be updated

Return Value

MutateInOptions

MutateInOptions durabilityLevel(int $arg)

Sets the durability level to enforce when writing the document.

Parameters

int $arg

the durability level to enforce

Return Value

MutateInOptions

MutateInOptions storeSemantics(int $arg)

Sets the document level action to use when performing the operation.

Parameters

int $arg

the store semantic to use

Return Value

MutateInOptions