Interface UpsertOptions

interface UpsertOptions {
    durabilityLevel?: DurabilityLevel;
    durabilityPersistTo?: number;
    durabilityReplicateTo?: number;
    expiry?: number;
    preserveExpiry?: boolean;
    timeout?: number;
    transcoder?: Transcoder;
}

Properties

durabilityLevel?: DurabilityLevel

Specifies the level of synchronous durability for this operation.

durabilityPersistTo?: number

Specifies the number of nodes this operation should be persisted to before it is considered successful. Note that this option is mutually exclusive of durabilityLevel.

durabilityReplicateTo?: number

Specifies the number of nodes this operation should be replicated to before it is considered successful. Note that this option is mutually exclusive of durabilityLevel.

expiry?: number

Specifies the expiry time for this document, specified in seconds.

preserveExpiry?: boolean

Specifies that any existing expiry on the document should be preserved.

timeout?: number

The timeout for this operation, represented in milliseconds.

transcoder?: Transcoder

Specifies an explicit transcoder to use for this specific operation.