const mongoose = require('mongoose');
The mongoose
immediately after const is green.
When I do mongoose.Schema.Types.ObjectId
the the whole code, mongoose.Schema.Types.ObjectId
is green.
But when I do mongoose.ObjectId
the mongoose
is green but the objectId
is not. What does this mean?(see above image for photo of the same)