Closed FLuiz22 closed 11 months ago
select
da própria biblioteca mongoose.
Ficando algo como:
const project = await Project.findOne({_id: projectId})
.select('_id ej name description tags team startDate finishDate contractLink customer news')
.populate({ path: 'team', select: 'name role _id' });
OVERVIEW
TASKS