access model not in mongoose from monogodb code example
Example 1: node js + mongoose
await mongoose.connect('mongodb://localhost/my_database', { useNewUrlParser: true, useUnifiedTopology: true});
Example 2: connect to existing collection mongoose
new Schema({ url: String, text: String, id: Number},
{ collection : 'question' }); // collection name