const Schema

111

const Schema = mongoose.Schema;
name: String
name: {type: String}
name: {type: String, required: true} //preferred

Comments

Submit
0 Comments