Using MongoDB with Mongoose — Data Manipulation with Models

Photo by Kevin Jansen on Unsplash

To make MongoDB database manipulation easy, we can use the Mongoose NPM package to make working with MongoDB databases easier.

In this article, we’ll look at how to use Mongoose to manipulate our MongoDB database.

Models

We can create models so we can use them as templates to create a document in the MongoDB…

--

--

Web developer. Check out https://thewebdev.info. Email me at hohanga@gmail.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store