Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
在关系型数据库的实际项目中,会发生串表功能,在Mongo是怎么实现的?
MongoDB沒有join的功能,只能分開查詢
如A、B表用ID關聯,找到共同存在的資料
在MongoDB中就是先從A表查詢出ID 再去當條件取得B表的資料
MongoDB 3.2版以后 不分片的情况下 Aggregate 有 $lookup可以使用,比较类似left join
与 萌阔论坛 的连接断开,我们正在尝试重连,请耐心等待