mongo-simple-driver
v1.0.1
Published
Mongo db simple driver for nodejs
Downloads
1
Readme
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.