connecting to mongodb existing collection 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