mongoshell
v1.0.0
Published
Set of functions for easy work with mongojs
Downloads
30
Maintainers
Readme
mongoshell
v1.0.0 ( last update: 10 june 2017 )
Set of functions for easy work with mongojs.
Install
npm i mongoshell --save
Node.js
var mongoshell = require("mongoshell");
Documentation
Add new document
mongoshell.doc.add({
ajax: ajax,
collection: "users",
json: {
username: "Li",
email: "[email protected]"
},
callback: (err) => {
if (err) {
ajax.error();
return;
}
ajax.success();
}
});
New documentation coming soon ...
//U mad?