What validator ensures a string field in a Mongoose schema does not exceed a certain length (in this case 30)?
username: {
type: String,
_____: 30
}
What validator ensures a string field in a Mongoose schema does not exceed a certain length (in this case 30)?
username: {
type: String,
_____: 30
}