do you need to make schema to query existing collection in mongodb code example
Example: connect to existing collection mongoose
new Schema({ url: String, text: String, id: Number},
{ collection : 'question' }); // collection name
new Schema({ url: String, text: String, id: Number},
{ collection : 'question' }); // collection name