Ask mongodb this kind of nosql database design, are there any basic principles?

mongodb doesn"t seem to have the join functionality of sql. Reducing the redundancy of individual tables does not seem to make sense and affects query efficiency.
and mongodb also has storage formats such as lists, which can achieve different functions in the past.

this confuses me a little bit. I don"t know how to design the table.

excuse me, are there any general basic standards for mongodb design? Or where can I find good examples for reference?

Feb.28,2021
The principle of

still exists. It mainly depends on your usage scenario. The concept of the corresponding data table in mongoDB is called collection,. A piece of data called document
you can look at this


can be designed like mysql to have a similar join concept called populate in mongo, for example, when a blog system user, a collection article, a collection user can associate one or more articles with a user query. Wait for populate to query it together

Menu