Difference between MongoDB and Mongoose

后端 未结 9 2470
一个人的身影
一个人的身影 2020-12-02 04:52

I wanted to use the mongodb database, but I noticed that there are two different databases with either their own website and installation methods: mongodb and mongoose. So I

9条回答
  •  南方客
    南方客 (楼主)
    2020-12-02 05:26

    Mongo is NoSQL Database.

    If you don't want to use any ORM for your data models then you can also use native driver mongo.js: https://github.com/mongodb/node-mongodb-native.

    Mongoose is one of the orm's who give us functionality to access the mongo data with easily understandable queries.

    Mongoose plays as a role of abstraction over your database model.

提交回复
热议问题