Documentation

LookupInOptions
in package

Table of Contents

$timeoutMilliseconds  : int|null
$transcoder  : Transcoder
$withExpiry  : bool|null
__construct()  : mixed
build()  : LookupInOptions
Static helper to keep code more readable
getTranscoder()  : Transcoder
Returns associated transcoder.
timeout()  : LookupInOptions
Sets the operation timeout in milliseconds.
transcoder()  : LookupInOptions
Associate custom transcoder with the request.
withExpiry()  : LookupInOptions
Sets whether to include document expiry with the document content.

Properties

Methods

__construct()

public __construct() : mixed
Tags
since
4.0.0
Return values
mixed

timeout()

Sets the operation timeout in milliseconds.

public timeout(int $milliseconds) : LookupInOptions
Parameters
$milliseconds : int

the operation timeout to apply

Tags
since
4.0.0
Return values
LookupInOptions

withExpiry()

Sets whether to include document expiry with the document content.

public withExpiry(bool $fetchExpiry) : 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
$fetchExpiry : bool

whether to include document expiry

Tags
since
4.0.0
Return values
LookupInOptions

        

Search results