What is the difference between an ORM and an ODM?

后端 未结 4 1779
旧巷少年郎
旧巷少年郎 2020-12-22 15:09

I am trying to figure out what the difference is between ORM and ODM, as far as I understand the concept, ORM (Object Relational Mapper) maps the relations between data, whe

4条回答
  •  离开以前
    2020-12-22 15:34

    Mongoose is a good example for ODM(Object Data Model) for MongoDB in which you can directly perform operations with objects and that gets translated into the appropriate query and schema. It can be found Here at https://mongoosejs.com/

提交回复
热议问题