Flexmonster MongoDB Connector is configured through the parameters that can be passed to it during initialization.
This guide describes the available configurations for Flexmonster MongoDB Connector. To start working with the Connector, see Embedding the MongoDB Connector into the server.
Here is an example of setting configurations for the Connector:
// Define config
const config = {
cacheEnabled: true,
// Setting cache memory limit to 100 MB
cacheMemoryLimit: 100,
// The cache will be stored for two hours
cacheTimeToLive: 120,
logsEnabled: true
}
// Pass the config when initializing the Connector
let mongoConnector = new fm_mongo_connector.MongoDataAPI(config);
// Define config
const config: ConfigInterface = {
cacheEnabled: true,
// Setting cache memory limit to 100 MB
cacheMemoryLimit: 100,
// The cache will be stored for two hours
cacheTimeToLive: 120,
logsEnabled: true
}
// Pass the config when initializing the Connector
let mongoConnector: MongoDataAPI = fm_mongo_connector.new MongoDataAPI(config);
Can't find your answer?
Visit the FAQ
Flexmonster Pivot Table & Charts is a JavaScript pivot table component for adding interactive reporting and data analysis to web applications. Users can summarize, filter, sort, and explore data in pivot tables and charts, drill into results, and export reports.
Flexmonster works in plain JavaScript and TypeScript projects. It also integrates with React, Next.js, Angular, Vue, Blazor, and other technologies. See all integration options.
Flexmonster supports JSON and CSV files, SQL databases, MongoDB, Elasticsearch, and Microsoft Analysis Services (SSAS). You can also connect other data sources through your own backend. See supported data sources.
Flexmonster offers licenses for internal corporate use, SaaS products, and OEM distribution. Pricing varies by license and plan. SaaS projects can also use the free SaaS Entry license during development. Learn more on the pricing page.
Yes. Flexmonster offers a 30-day free trial that lets you evaluate all its features. No credit card is required. The trial version has a watermark.
To get started with Flexmonster, follow our integration guide.