Simple connect

suggest change

```const MongoDB = require(‘mongodb’);

MongoDB.connect(‘mongodb://localhost:27017/databaseName’, function(error, database) { if(error) return console.log(error); const collection = database.collection(‘collectionName’); collection.insert({key: ‘value’}, function(error, result) { console.log(error, result); }); }); ```

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Connect to Mongodb:
* Simple connect

Table Of Contents
1 npm
41 cli
43 grunt
49 Connect to Mongodb
59 Hack
64 ES6
67 Redis
69 MongoDB
86 MongoDB
87 Lodash
91 CORS
105 N-API
108 Require