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

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

Return Type

Promise<CosmosItemResponse<Record<string, unknown>>>

The read envelope

Usage

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