Skip to main content

Class: SimpleCosmosDBReader

Read data from CosmosDB.

Implements

Constructors

new SimpleCosmosDBReader()

new SimpleCosmosDBReader(client): SimpleCosmosDBReader

Parameters

client: CosmosClient

Returns

SimpleCosmosDBReader

Defined in

packages/readers/cosmosdb/dist/index.d.ts:38

Methods

loadData()

loadData(config): Promise<Document<Metadata>[]>

Loads data from a Cosmos DB container

Parameters

config: SimpleCosmosDBReaderLoaderConfig

Returns

Promise<Document<Metadata>[]>

Implementation of

BaseReader.loadData

Defined in

packages/readers/cosmosdb/dist/index.d.ts:43