interface CosmosContainerDefinition
Since 0.2.0

The container definition the partition-key resolver reads.

Properties

readonly
optional
partitionKey: { readonly paths?: readonly string[]; readonly kind?: string; }

The partition-key definition, present on every container.

Usage

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