无法使用command.in
发现 command.in命令无法使用 let _=db.command db.collection('shici_coll') .where({ _id: _.in(['5c3088aec90eff956625b58c']) }) .get({ success: res => { console.log(res) }//返回空记录 }) db.collection('shici_coll') .where({ _id: '5c3088aec90eff956625b58c' }) .get({ success: res => { console.log(res) }//返回正确记录 }) 求管理大大救命!