method ICosmosDatabase.container
ICosmosDatabase.container(id: string): ICosmosContainer

Addresses a container by id. The container is not created.

Parameters

id: string

The container id

Return Type

The container handle

Usage

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