查询有一条不能对应,返回结果就是undefined
Anchors.populate(models,{ path: 'anchorsid',select: 'name' }, function (err, model) {
console.log(model);
})
查询有一条不能对应,返回结果就是undefined
Anchors.populate(models,{ path: 'anchorsid',select: 'name' }, function (err, model) {
console.log(model);
})