interface ICosmosDatabase
Since 0.2.0

A structural subset of the SDK Database.

Methods

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

read(): Promise<CosmosItemResponse<Record<string, unknown>>>

Reads the database, proving the credentials and the database name.

Usage

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