Global Functionmongokitten 7.9.5MongoKitten
TTLIndex(named:field:expireAfterSeconds:)
Creates a TTL index with the given name and fields. The expireAfterSeconds
is the amount of seconds after which the document is removed
func TTLIndex(named name: String, field: String, expireAfterSeconds seconds: Int) -> _MongoIndex