SimpleCosmosDBReaderLoaderConfig
SimpleCosmosDBReaderLoaderConfig =
object
Defined in: packages/readers/src/cosmosdb.ts:5
Properties
databaseName
databaseName:
string
Defined in: packages/readers/src/cosmosdb.ts:9
The name of the database to read.
containerName
containerName:
string
Defined in: packages/readers/src/cosmosdb.ts:13
The name of the container to read.
fields?
optional
fields:string
[]
Defined in: packages/readers/src/cosmosdb.ts:17
An array of field names to retrieve from each document. Defaults to ["text"].
fieldSeparator?
optional
fieldSeparator:string
Defined in: packages/readers/src/cosmosdb.ts:21
The separator to join multiple field values. Defaults to an empty string.
query?
optional
query:string
|SqlQuerySpec
Defined in: packages/readers/src/cosmosdb.ts:25
A custom query to filter the documents. Defaults to SELECT * FROM c
.
metadataFields?
optional
metadataFields:string
[]
Defined in: packages/readers/src/cosmosdb.ts:29
An optional array of metadata field names. If specified extracts this information as metadata.