Skip to main content

Type Alias: SimpleCosmosDBReaderLoaderConfig

SimpleCosmosDBReaderLoaderConfig: object

Type declaration

containerName

containerName: string

The name of the container to read.

databaseName

databaseName: string

The name of the database to read.

fields?

optional fields: string[]

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

fieldSeparator?

optional fieldSeparator: string

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

metadataFields?

optional metadataFields: string[]

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

query?

optional query: string | SqlQuerySpec

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

Defined in

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