Type alias BatchReplaceDescriptor

BatchReplaceDescriptor: {
    collection: string;
    op: "replace";
    replaceItem: DocumentWithId;
}

A replace (PutItem) request to perform with [[batchReplaceDelete]].

Performs the equivalent operation as [[replace]], which is a full insert or update on the primary key of the document.

Type declaration

  • collection: string

    The root or child collection

  • op: "replace"

    The operation to perform (always 'replace')

  • replaceItem: DocumentWithId

    The document of the item to be replaced

Generated using TypeDoc