db.getCollection("st_pptn_hour_rainfall").aggregate([
{
$match: {
stcd:'00000080' ,
drp: {$gte: 0} //选取time字段 >=20的document
}
}
])
mongodb中aggregate应用
最新推荐文章于 2021-04-07 11:18:52 发布
db.getCollection("st_pptn_hour_rainfall").aggregate([
{
$match: {
stcd:'00000080' ,
drp: {$gte: 0} //选取time字段 >=20的document
}
}
])