OptionalcollectionName?: stringName of the MongoDB collection used to store cache entries.
OptionalcollectionSettings?: CollectionOptionsAdditional options passed when creating or accessing the MongoDB collection.
The MongoDB Db instance to store cache entries in.
Serde instance for serializing and deserializing cache values to and from strings.
Configuration for
MongodbCacheAdapter. Requires a MongoDBDbinstance and a serde for serialising cache values to strings.IMPORT_PATH:
"@daiso-tech/core/cache/mongodb-cache-adapter"