Annotation Interface TtlIndexed
Annotation to mark a field to be indexed using ArangoDB's Ttl index.
- Author:
- Dmitry Krasaev
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionint
The time interval (in seconds) from the point in time of the value of the annotated field after which the documents count as expired.
-
Element Details
-
expireAfter
int expireAfterThe time interval (in seconds) from the point in time of the value of the annotated field after which the documents count as expired. Default is 0, which means that the documents expire as soon as the server time passes the point in time stored in the document attribute.- Default:
- 0
-