mongoExpire

TTL indexes expire documents after the specified number of seconds has passed since the indexed field value; i.e. the expiration threshold is the indexed field value plus the specified number of seconds. Field must be a SchemaDate/BsonDate. You must update the time using collMod.

Constructors

this
this(int seconds)
this
this(long seconds)
this
this(ulong seconds)
this
this(Duration time)

Members

Variables

seconds
ulong seconds;

Meta