Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Draw UML Diagram for NoSql Like MongoDB? [duplicate]

I would like to know that can i draw UML diagrams for my web application which has back end Mongodb?

Or is there any other diagrams for NoSql?

like image 296
nilay joshi Avatar asked Jul 27 '16 14:07

nilay joshi


People also ask

Can NoSQL have ER diagram?

The result set written by SQL on relational model is similar to NoSQL data model which is aggregate data model. Therefore, entity relationship diagram and relational model can be used in NoSQL database design.

Can we create ER diagram for MongoDB?

To create an ER diagram, you need entities (collections) and relationships. Dataedo discovered entities and their fields. It is a bit more complicated (as always) with the relationships. MongoDB is not a relational database, it is a document store, so traditional ER modeling does not apply.

Is NoSQL similar to MongoDB?

NoSQL databases come in a variety of types including document databases, key-values databases, wide-column stores, and graph databases. MongoDB is the world's most popular NoSQL database.


1 Answers

I found a similar answer online, perhaps this will help:

NoSQL databases approach modelling from a different point of view generally. NoSQL modelling usually begins with asking questions on how the data in the database is going to be queried, so the main modelling is 'what are the list of questions that I want to ask of my database', whereas with SQL databases, modelling usually is a function of what data you have, that is, what answers I have already.

Once you have a list of questions, you then need to design a model that will answer those questions via the NoSQL database. To model it, I typically use Creately which is an online tool for visually representing models of various kinds.

Another method could be to represent your NoSQL model in JSON format and then use the wonderful D3.js javascript library to create a data-driven document. See this website for more details and the templates available to visually represent your model.

Hope it helps.

like image 57
Salman Salman Avatar answered Sep 30 '22 20:09

Salman Salman