Interface GetOptions

interface GetOptions {
    project?: string[];
    timeout?: number;
    transcoder?: Transcoder;
    withExpiry?: boolean;
}

Properties

project?: string[]

Specifies a list of fields within the document which should be fetched. This allows for easy retrieval of select fields without incurring the overhead of fetching the whole document.

timeout?: number

The timeout for this operation, represented in milliseconds.

transcoder?: Transcoder

Specifies an explicit transcoder to use for this specific operation.

withExpiry?: boolean

Indicates that the expiry of the document should be fetched alongside the data itself.