My Blog

My WordPress Blog

My Blog

My WordPress Blog

3. MongoDB

MongoDB Remove

In MongoDB, you can delete records or documents by using the remove() method. The first parameter of the remove() method is a query object which specifies the document to delete. Example Remove the record of employee whose address is Ghaziabad. Create a js file named “remove.js”, having the following code: Open the command terminal and run […]

Create Connection with MongoDB

MongoDb is a NoSQL database. It can be used with Node.js as a database to insert and retrieve data. Download MongoDB Open the Linux Command Terminal and execute the following command: It will download the latest MongoDB according to your system requirement. Install MongoDB After the complete download, use the following command to install MogoDB. […]

Scroll to top