Sequential index in mongoose

后端 未结 0 1033
伪装坚强ぢ
伪装坚强ぢ 2020-11-21 23:56

I\'m trying to create a sequential index in when I new document is added I want to go 1, 2, 3, 4, etc...

partnerId: { 
    type: Number,
    required: true,
          


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