GetOptions
class GetOptions (View source)
Methods
Sets the operation timeout in milliseconds.
Sets whether to include document expiry with the document content.
Sets whether to cause the Get operation to only fetch the fields from the document indicated by the paths provided.
Associate custom transcoder with the request.
Details
GetOptions
timeout(int $arg)
Sets the operation timeout in milliseconds.
GetOptions
withExpiry(bool $arg)
Sets whether to include document expiry with the document content.
When used this option will transparently transform the Get operation into a subdocument operation performing a full document fetch as well as the expiry.
GetOptions
project(array $arg)
Sets whether to cause the Get operation to only fetch the fields from the document indicated by the paths provided.
When used this option will transparently transform the Get operation into a subdocument operation fetching only the required fields.
GetOptions
decoder(callable $arg)
Associate custom transcoder with the request.