1.0.1 • Published 5 years ago
mongo-simple-driver v1.0.1
MongoSimpleDriver
Mongo db simple driver for nodejs
Use
Initial
Method find
1 argument - object
2 argument - callback function
3 argument - string, not required. Another collection name.
Method insertMany
1 argument - array of objects
2 argument - callback function
3 argument - string, not required. Another collection name.
Method updateOne
1 argument - data
2 argument - new data
3 argument - callback function
4 argument - string, not required. Another collection name.
Method deleteOne
1 argument - object with data
2 argument - callback function
3 argument - string, not required. Another collection name.