opticore-mongodb
v1.0.3
Published
opticore mysql driver data base
Readme
Installation
npm install opticore-mongodb
Summary
This package contains a database connection for mongodb (https://github.com/guyzoum77/opticore-mongodb).
Usage
import {MongoCore} from "opticore-mongodb";
const mongoConn: MongoCore = new MongoCore(connectionUri, localLang, options);
mongoConn.connection("dbName"");Details
- connectionUri: This is connection string, which tells the Node.js driver which MongoDB deployment to connect to.
- localLang: a default local language
- options: This is an interface that defines all the configuration parameters available to establish a connection between a Node.js application and MongoDB
Contributors
This package is led by Guy-serge Kouacou.
Contributing
This project welcomes contributions from the community. Contributions are accepted using GitHub pull requests. If you're not familiar with making GitHub pull requests, please refer to the GitHub documentation "Creating a pull request."
