Subject: [mongodb-user] TTL implementation using Java



I am working on java application using mongo, I want to check if there is any other option to automatically remove documents from collection after particular time period. say after 12 hours .... I checked createIndex option for implementing TTL .. but it needs timestamp column to be present in collection, is there any other way to implement TTL with timestamp column and createIndex option ?

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/b7aa5aa7-7658-4f9e-9284-7a642a987a87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
...



Programming list archiving by: Enterprise Git Hosting