mongoose store array of reocrds code example Example: js array of strings mongoose var personSchema = new mongoose.Schema({ tags: [{ type: String }]