How to Design mongodb Table

  mongodb, question

I have been studying Mongodb for some time, but I don’t know how to design the watch.
Use the most basic library management system as a column.
If you use a relational database, the table is well designed: student table, book table, borrowing and returning record table.
However, if it is nosql and it is designed as such three tables, the join table query is a huge disaster.
For example, if you want to search by page: all students who borrowed martial arts novels.
How should mongodb be designed? How to do this kind of inquiry? I would like to ask you, Da Da

Official documents: …

Mongoose does have a way to use populate () union table query, and you can try mongoose.