how to implement array of string in mongoose model code example
Example 1: js array of strings mongoose
var personSchema = new mongoose.Schema({
tags: [{
type: String
}]
Example 2: Typegoose array of strings
@arrayProp({ items: String }) public languages?: string[];