class LookupInOptions (View source)

Methods

timeout(int $arg)

Sets the operation timeout in milliseconds.

withExpiry(bool $arg)

Sets whether to include document expiry with the document content.

Details

LookupInOptions timeout(int $arg)

Sets the operation timeout in milliseconds.

Parameters

int $arg

the operation timeout to apply

Return Value

LookupInOptions

LookupInOptions withExpiry(bool $arg)

Sets whether to include document expiry with the document content.

When used this option will add one extra subdocument path into the LookupIn operation. This can cause the set of subdocument paths to exceed the maximum number (16) of paths allowed in a subdocument operation.

Parameters

bool $arg

whether or not to include document expiry

Return Value

LookupInOptions