couchbase
    Preparing search index...

    Interface MutateInOptions

    interface MutateInOptions {
        cas?: CasInput;
        durabilityLevel?: DurabilityLevel;
        durabilityPersistTo?: number;
        durabilityReplicateTo?: number;
        expiry?: number;
        preserveExpiry?: boolean;
        storeSemantics?: StoreSemantics;
        timeout?: number;
        upsertDocument?: boolean;
    }
    Index

    Properties

    cas?: CasInput

    If specified, indicates that operation should be failed if the CAS has changed from this value, indicating that the document has changed.

    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.

    storeSemantics?: StoreSemantics

    Specifies the store semantics to use for this operation.

    timeout?: number

    The timeout for this operation, represented in milliseconds.

    upsertDocument?: boolean

    Specifies whether the operation should be performed with upsert semantics, creating the document if it does not already exist.

    Use MutateInOptions.storeSemantics instead.