The optional `expireAfterSeconds` is a time-series collection creation option that indicates after how many seconds old time-series data should be deleted.
Effectively, specifying the expireAfterSeconds option makes the _id index become a TTL index.
- is related to
-
SERVER-10075 Should forbid illegal form of TTL indexes
- Closed