how can i change the type of any existing property, and also add a new propert in my mongoose schema?

后端 未结 0 946
没有蜡笔的小新
没有蜡笔的小新 2020-12-06 10:57

I have an existing user schema in my mongodb database.

{
  Name: {
    type: String,
    required: true,
  },
  Mobile: {
    type: String,
    required: true         


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