3 ms·
Is this not already possible with MongoDB, using something like mongooses post('save') [1]? [1] http://mongoosejs.com/docs/middleware.html http://mongoosejs.co
by abluecloud 12y ago
Is this not already possible with MongoDB, using something like mongooses post('save') [1]?
[1] http://mongoosejs.com/docs/middleware.html http://mongoosejs.com/docs/middleware.html
- coffeemug 12y agoYou could do it with mongoose middleware, but this solution is a lot more complex and expensive. In this case the application developer would have to take care to notify an additional piece of infrastructure about every change. Even if you can abstract the code, that requires quite a bit of additional intelligence on the backend. Baking feeds into the database should dramatically simplify the amount of required work.