Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

array of string mongoose

var personSchema = new mongoose.Schema({
  tags:{
     type:[String],
     required: true
  }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #array #string #mongoose
ADD COMMENT
Topic
Name
2+4 =