How to tell mongoose to automatically increase a stored value after a specific amount of time?

后端 未结 0 2042
小鲜肉
小鲜肉 2020-12-10 17:47

Let\'s say I a student model like this:

const Schema = mongoose.Schema;

const StudentSchema = new Schema({
    fullName: {
        type: String,
        requ         


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