interface CosmosBatchResponse
Since 0.2.0

The response a transactional batch answers with.

Properties

readonly
optional
code: number

The overall status code; 200 when every operation succeeded.

readonly
optional
result: readonly { readonly statusCode: number; }[]

The per-operation results, in the order the operations were sent.

Usage

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