- Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
has: votes-jirain: mappingMapping and conversion infrastructureMapping and conversion infrastructuretype: enhancementA general enhancementA general enhancement
Milestone
Description
Vineeth Narayanan opened DATAMONGO-544 and commented
Spring 2.2 has introduced a concept of TTL collections. You can create a TTL collection presently using the ensureIndex method of the driver. An example usage is as follows:
myTTLCollection.ensureIndex(new BasicDBObject("someField", 1), new BasicDBObject("expireAfterSeconds", 3600));
It would be great to have support for this functionality via the @Indexed
annotation
Referenced from: commits 7823385
12 votes, 12 watchers
Metadata
Metadata
Assignees
Labels
has: votes-jirain: mappingMapping and conversion infrastructureMapping and conversion infrastructuretype: enhancementA general enhancementA general enhancement