本文共 295 字,大约阅读时间需要 1 分钟。
In mongoDB, there are two general way to connect with two tables. Manual Connection and use DBRef
Firstly init the data which was saved in the different collections.
The result:
grammar:
the example: