[MongoDB] The connection between two tables, mongodbtables
In mongoDB, there are two general way to connect with two tables. Manual Connection and use DBRef
1. Basically manual connection
Firstly init the data which was saved in the different collections.
The result:
2 usage
DBRef
Grammar:
The example:
Attention: the above example has some question;
The () between the two playing periods of a football game is only a few minutes
5. proposal by proposal
4. captured
3. amused is interesting
2. when she went to that place, she had a good time.
1. interval
He doesn' t even know where the difference between the two lies, which surprises us all
He didn't even know where these two things are, which surprised us.
Note that lie does not mean "lie", but "lie.
Where is the difference, it must be said, so where is used
If you change it to the following, you can use what:
What the difference between the two is
What is the difference between the two things?
Hope to help you ~!