interface CosmosBatchReplaceOperation
Since 0.2.0

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

Properties

readonly
operationType: "Replace"

The operation kind.

readonly
id: string

The document id.

readonly
resourceBody: Record<string, unknown>

The document to write in its place.

Usage

import { type CosmosBatchReplaceOperation } from "database-plugin/src/index.ts";