defining 2 types under 1 variable in mongodb

后端 未结 0 528
一整个雨季
一整个雨季 2021-01-30 15:18

I\'m trying to create a Schema that looks like this:

const exampleSchema = mongoose.Schema({
    topic: {
         type: String,
         required: true,
    },
          


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