【发布时间】:2020-08-05 23:27:18
【问题描述】:
我有这个架构:
text = {
name : String,
text: String,
class: String (optional)
}
我怎样才能找到一个还没有上课的人?
我希望是这样的:
text.findOne({
class: null
})
.then(text => res.json(text))
【问题讨论】:
-
这是否回答了您的问题:stackoverflow.com/questions/47738086/… ?