Inside the backend/WeivData/connection-options.js file you can define three different factory function and export them.
These factory functions can be used to customize each role's MongoClient connection options like connection pool settings etc.
You can also define custom cache options for all clients. These cache options define how to cache these clients. In most cases you don't need to play with this.
Description
Inside the
backend/WeivData/connection-options.js
file you can define three different factory function and export them. These factory functions can be used to customize each role's MongoClient connection options like connection pool settings etc.Example
You can also define custom cache options for all clients. These cache options define how to cache these clients. In most cases you don't need to play with this.
Example