Using “deleteMany” post middleware in mongoose

后端 未结 0 942
闹比i
闹比i 2020-11-27 04:58

In my Nodejs and Express app, I have a mongoose User schema, a Post schema and a Comment schema as follows:

const UserSchema = new Schema({
    username: {
           


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