mongodb playground methods

Insert, Delete, Update and Read Methods in MongoDB without Mongoose

There are 3 files in the folder Playground which contains the followings:

  • mongodb-connect.js A basic code for to connect local Mongo DB and insert an object
  • mongofind.js A method to find a document in MongoDB and show it in console
  • mongoupdate.js A method to find an replace a data in MongoDB, second method to find an increment an integer data in MongoDB