resolve-storage-mongo
v0.23.2
Published
An adapter reSolve uses to store events in MongoDB.
Readme
resolve-storage-mongo
This package is a resolve-es adapter for storing events using MongoDB.
Available Parameters
url- a MongoDB connection string. Refer to Connection String URI Format for more information.collectionName- a name of a collection storing events.
Usage
import createAdapter from 'resolve-storage-mongo'
const adapter = createAdapter({
url: 'mongodb://localhost:27017/CustomDatabaseName',
collectionName: 'Events'
})