Skip to content

SimpleCosmosDBReaderLoaderConfig

SimpleCosmosDBReaderLoaderConfig = object

Defined in: .build/typescript/packages/providers/storage/azure/src/readers/cosmosdb.ts:5

databaseName: string

Defined in: .build/typescript/packages/providers/storage/azure/src/readers/cosmosdb.ts:9

The name of the database to read.


containerName: string

Defined in: .build/typescript/packages/providers/storage/azure/src/readers/cosmosdb.ts:13

The name of the container to read.


optional fields: string[]

Defined in: .build/typescript/packages/providers/storage/azure/src/readers/cosmosdb.ts:17

An array of field names to retrieve from each document. Defaults to [“text”].


optional fieldSeparator: string

Defined in: .build/typescript/packages/providers/storage/azure/src/readers/cosmosdb.ts:21

The separator to join multiple field values. Defaults to an empty string.


optional query: string | SqlQuerySpec

Defined in: .build/typescript/packages/providers/storage/azure/src/readers/cosmosdb.ts:25

A custom query to filter the documents. Defaults to SELECT * FROM c.


optional metadataFields: string[]

Defined in: .build/typescript/packages/providers/storage/azure/src/readers/cosmosdb.ts:29

An optional array of metadata field names. If specified extracts this information as metadata.