mongooe get collections 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