Connect to Mongodb

Download node.js eBook

Introduction

MongoDB is a free and open-source cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with schemas.

For more details go to https://www.mongodb.com/

Syntax

  • MongoClient.connect('mongodb://127.0.0.1:27017/crud',function (err,db) {//do womething here});

Related Examples

Stats

22 Contributors: 3
Wednesday, May 17, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook