@woltage/store-mongodb
v1.1.0
Published
MongoDB adapter for Woltage
Downloads
148
Readme
Woltage adapter - MongoDB
A MongoDB store adapter for Woltage.
Usage
import createWoltage from 'woltage';
import MongoDBStore from '@woltage/store-mongodb';
const woltage = await createWoltage({
stores: {
mongodb: {
adapter: MongoDBStore,
args: [
'mongodb+srv://user:[email protected]/?authSource=admin&replicaSet=myRepl',
]
}
},
// ...
});See https://www.mongodb.com/docs/manual/reference/connection-string/ for more information about the connection string.
