2 Answers
- Newest
- Most votes
- Most comments
0
The TTL function itself is supported.
https://docs.aws.amazon.com/documentdb/latest/developerguide/best_practices.html#best_practices-ttl_timeseries
Basically, it can be used in the same way as MongoDB.
The following document describes the differences between Amazon DocumentDB and MongoDB.
https://docs.aws.amazon.com/documentdb/latest/developerguide/functional-differences.html#functional-differences.with-mongodb
0
Yes TTL is supported in DocumentDB and function same as it does in Mongo. Please find the following documentation around that for reference. https://docs.aws.amazon.com/documentdb/latest/developerguide/how-it-works.html#how-it-works.ttl-deletes
answered a year ago
Relevant content
- asked 3 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 9 months ago
- How do I resolve issues with an Amazon DocumentDB instance that is in an incompatible-network state?AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 9 months ago