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