Setu-TS
    Preparing search index...

    Interface CosmosBatchReplaceOperation

    A batch operation overwriting a whole document, which therefore names the document it replaces.

    0.2.0

    interface CosmosBatchReplaceOperation {
        id: string;
        operationType: "Replace";
        resourceBody: Record<string, unknown>;
    }
    Index
    id: string

    The document id.

    operationType: "Replace"

    The operation kind.

    resourceBody: Record<string, unknown>

    The document to write in its place.