Is there any way to have a parameter in pre find hook?

后端 未结 0 727
野趣味
野趣味 2020-12-29 06:47
const productSchema = new Schema(
{
    name: { type: String, required: true },
    category: { type: Schema.Types.ObjectId, ref: \'Category\'},
    user: { type: Sc         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题