【发布时间】:2021-07-29 21:29:25
【问题描述】:
books
{
name: "random",
stars: 4,
},
{
name: "random",
stars: 2,
}
foods
{
name: "random",
stars: ,
},
{
name: "random",
}
movies
{
name: "random",
stars: 0,
},
{
name: "random",
stars: 7,
}
在我的名为 dbcosos 的数据库中获得了这个集合,我想获得超过 3 星的项目 有人可以帮帮我吗?
【问题讨论】:
-
不能同时查询多个集合
标签: node.js mongodb mongoose collections