We will talk about the fastest JSON based database ie MongoDb. The powerful database to handle bigdata now a days which keeps data in JSON format. Inserting and updating collection in MongoDb using NodeJs in a single command is very easy to do. Here db is the mongodb collection instance and query and update objects are respectively … More Insert, Update in single query Mongodb (NodeJs)
Backup and recovery is two most valuable parts in database in case of system failure or unexpected system crash or database replacement. In MongoDB, data can be import and exported using commands. Lets move on MongoDB command: Before starting import and export you need to start mongo using terminal and open a new terminal and navigate to … More MongoDB: How to restore and backup MongoDB database.
First of all lets take a look about MongoDB database. MongoDB is a lightweight and document-oriented language which is built on C++. In this, data are stored in JSON form. MongoDB can be used in many languages to store data. Among the various languages, there is a good server side language Node.Js in which MongoDB are used. Now lets move … More MongoDB: How to repair MongoDB using Command Prompt on unexpected system shutdown.
As an asynchronous event driven framework, Node.js is designed to build scalable network applications. Node is similar in design to and influenced by systems like Ruby’s Event Machine or Python’s Twisted. Node takes the event model a bit further, it presents the event loop as a language construct instead of as a library. In other systems there is … More Node.Js: How to use Session in NodeJs to store information
MongoDB is a lightweight database which can be widely used in NodeJs applications to store and retrieve data. If you are facing this error, the follow the steps and you will be able to run your MongoDB on your system. If you are facing this type of problem in Windows 8, then you do only … More Unable to connect to server 127.0.0.1:27017: No connection could be made because the target machine actively refused it 127.0.0.1:27017.