Interface InsertOptions

interface InsertOptions {
    durabilityLevel?: DurabilityLevel;
    durabilityPersistTo?: number;
    durabilityReplicateTo?: number;
    expiry?: number;
    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.

timeout?: number

The timeout for this operation, represented in milliseconds.

transcoder?: Transcoder

Specifies an explicit transcoder to use for this specific operation.