nodo-mongodb-nativo de mantenimiento de la recolección
db.collection('user', function (err, collection) {
app.get('/route', function (req, res) {
collection.find(blah) // do something
}
app.get('/route2', function (req, res) {
collection.find(foo) // do something
}
app.get('/route3', function (req, res) {
collection.find(bar) // do something
}
}
SAMER SAEID