How to add a custom field before findOne

前端 未结 0 563
时光说笑
时光说笑 2020-12-03 07:48

I have 2 schemas with following structure

const MainCategorySchema = new Schema(
{
    name: { type: String, required: true },
},
{ strict: false }

const Cat         


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