You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/mongodb/mongodb-time-to-live.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.service: cosmos-db
7
7
ms.subservice: cosmosdb-mongo
8
8
ms.devlang: csharp, java, javascript
9
9
ms.topic: how-to
10
-
ms.date: 12/26/2018
10
+
ms.date: 02/16/2022
11
11
ms.custom: devx-track-js, devx-track-csharp
12
12
---
13
13
# Expire data with Azure Cosmos DB's API for MongoDB
@@ -18,9 +18,9 @@ Time-to-live (TTL) functionality allows the database to automatically expire dat
18
18
## TTL indexes
19
19
To enable TTL universally on a collection, a ["TTL index" (time-to-live index)](mongodb-indexing.md) needs to be created. The TTL index is an index on the `_ts` field with an "expireAfterSeconds" value.
0 commit comments