property CosmosContainerDefinition.partitionKey

The partition-key definition, present on every container.

Properties

readonly
optional
paths: readonly string[]

The document paths the partition key is composed of, each leading-slash.

readonly
optional
kind: string

MultiHash for a hierarchical key; absent for a single-path one.

Usage

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