回复 (5)
N
mongodb中有个$lookup 操作符 两个表联合查询用过一次。 希望对你有所帮助
D
这个不是正常的关联查询吗 a关联b b关联c populate 去查
Z
aggregate不就是做关联查询的啊
L
可以用mongodb中的populate 你看看这个文章 https://blog.csdn.net/WaterSprite_ct/article/details/78500997
参与回复
登录后即可参与回复。登录
mongodb中有个$lookup 操作符 两个表联合查询用过一次。 希望对你有所帮助
这个不是正常的关联查询吗 a关联b b关联c populate 去查
aggregate不就是做关联查询的啊
可以用mongodb中的populate 你看看这个文章 https://blog.csdn.net/WaterSprite_ct/article/details/78500997