How to enable the Mongoose Update Validator - Node

前端 未结 0 1520
孤城傲影
孤城傲影 2020-12-12 19:38

Here is my schema:

const personSchema = new mongoose.Schema({
    name: {
        type: String,
        minlength: 3,
        unique: true,
        required:          


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