How does Nosql(mongodb) write database structure documents?

  mongodb, question

The mongodb database I used now needs to write the structural documents of the database. Relational databases can be completed directly by using tables. How to write mongodb can be simple, straightforward and beautiful.

You can refer tomongooseTheSchema, putSchemaIt is designed so that it can be directly referred to and basically does not need to look at structural documents.