查询有一条不能对应,返回结果就是undefined
Anchors.populate(models,{ path: 'anchorsid',select: 'name' }, function (err, model) {
console.log(model);
})
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
走同样的路,发现不同的人生