I am going through an online article and I came across
const mongoose = require('mongoose');
const { Schema } = mongoose;
May I know what is the meaning of const { Schema } = mongoose;
.
Are we doing object initiation of mongoose
to Schema
variable or ?