'Pass documents among collections on timer in mongo
I'm working with mongo not much time, so I have 2 collections. In first I need to index collections with eviction policy = 7 days. after 7 days I need to copy expired documents to another , archive collection and there they will have eviction policy 60 days. Mongo has eviction policy realization in it, but does it have some functionality which will move automatically data from one collection to another after some period? Or single solution is to write my own scheduler which will do that?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
