Interface IncrementOptions

interface IncrementOptions {
    durabilityLevel?: DurabilityLevel;
    durabilityPersistTo?: number;
    durabilityReplicateTo?: number;
    expiry?: number;
    initial?: number;
    timeout?: number;
}

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

The expiry time that should be set for the document, expressed in seconds.

initial?: number

The initial value to use for the document if it does not already exist. Not specifying this value indicates the operation should fail if the document does not exist.

timeout?: number

The timeout for this operation, represented in milliseconds.