Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

what is schemas mongoose

let mongoose = require('mongoose')

let emailSchema = new mongoose.Schema({
  email: String
})

module.exports = mongoose.model('Email', emailSchema)
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #schemas #mongoose
ADD COMMENT
Topic
Name
8+7 =