Support compound TTL index
Right now you can only do a single field TTL index. I would like a put a TTL on a compound index.
3
votes
![](https://secure.gravatar.com/avatar/3acf83ad34ce7ad329c517e8a9719183?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Albert commented
Maybe this would work? A conditional on a single field? https://dev.to/lironer/delete-expired-documents-automatically-with-mongodb-ttl-index-l44