I have implemented a solution that extends upon the current TTL monitor and allows for dynamic expiration times. My solution works in that respect, but now I'm trying to find a way to retain the parent document and just remove the sub-document that was expired. For example, I have a Tag with a sub-document that is an array of Queue. My goal is to maintain the sub-documents using the ttl without deleting the Tag.
Is this possible to with embed sub-docs? Referencing? From looking through past support forums I saw that someone had a similar use-case 10 months ago and I know this will crop-up even more so in the future.
I look forward to hearing back from you!