Equivalent of ERD for MongoDB?

后端 未结 6 2057
逝去的感伤
逝去的感伤 2020-12-29 18:28

What would be the equivalent of ERD for a NoSQL database such as MongoDB?

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-29 19:07

    I have been thinking about the same issue for quite some time. And I came to the following conclusion: If NoSQL databases are generally schemaless, you don't actually have a 'schema' to illustrate in a diagram.

    Thus, I think you should take a "by example" approach. You could draw some mindmaps exemplifying how your data would look like when stored in a NoSQL DB such as MongoDB.

    And since these databases are very dynamic you could also create some derived mindmaps to show how the data from today could evolve in time.

    Take a look at this topic too.

    Confusion about NoSQL Design

提交回复
热议问题