MongoDB
MongoDB
2. When to use RDBMS and when to use NoSQL DB in your applica ons?
RDBMS are suitable for applica ons that require complex transac ons
and data integrity(ACID), such as banking, finance, and e-commerce.
6. What is Mongoose?
Mongoose is a library for MongoDB that is used to connect node.js and
MongoDB it also provides some func ons like
FindbyId
Findbyidand Update
Findbyidandcreate
Delete many
Delete one Create (C):
Find one
Adds new data to the system or
Find one and update database.
Find one and delete Example: Adding a new user to a
database or creating a new blog post.
Read (R):