Class: SimpleMongoReader
Read in from MongoDB
Implements
Constructors
new SimpleMongoReader()
new SimpleMongoReader(
client
):SimpleMongoReader
Parameters
• client: MongoClient
Returns
Source
packages/core/src/readers/SimpleMongoReader.ts:12
Properties
client
private
client:MongoClient
Source
packages/core/src/readers/SimpleMongoReader.ts:10
Methods
flatten()
private
flatten(texts
):string
[]
Flattens an array of strings or string arrays into a single-dimensional array of strings.