LookupInOptions
in package
Table of Contents
- timeout() : LookupInOptions
- Sets the operation timeout in milliseconds.
- withExpiry() : LookupInOptions
- Sets whether to include document expiry with the document content.
Methods
timeout()
Sets the operation timeout in milliseconds.
public
timeout(int $arg) : LookupInOptions
Parameters
- $arg : int
-
the operation timeout to apply
Return values
LookupInOptions —withExpiry()
Sets whether to include document expiry with the document content.
public
withExpiry(bool $arg) : LookupInOptions
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
- $arg : bool
-
whether or not to include document expiry