for example
const ProjectSchema = new mongoose.Schema ({
)name : { type:String },
time : { type:Date, default:Date.now },
url : { type: String},
user : { type: Object},
proId : {type: String},
spaceId : {type: String},
description: {type: String},
participant: {type: Array}
})
I need to find it through the id passed in, and the participant contains the data of the id