Answer Posted / Surya Kant
In Mongoose, a schema defines the structure of a document (data object). It specifies the fields and their data types for each model. You can create a new schema using const Schema = mongoose.Schema; and define its properties.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers