该文件说,你可以像这样实现的:
猫鼬v4.0
// Retrieving only certain fieldsModel.find({}, 'first last', function (err, docs) {});旧的过时的API
// Retrieving only certain fieldsModel.find({}, ['first', 'last'], function (err, docs) { // docs is an array of partially-`init`d documents // defaults are still applied and will be "populated"});因此,您无需执行此操作
select()。



