Is there any TTL option on documents for Firebase Database . Where documents get auto deleted after that amount time.
Asked
Active
Viewed 1,275 times
1 Answers
1
No such thing exists as a feature of Realtime Database or Firestore.
You can instead write your own code to periodically search for expired documents or nodes in a collection and delete them.

Doug Stevenson
- 297,357
- 32
- 422
- 441
-
Okay, that helps. Thanks @Doug – Siddhant Jain Mar 20 '18 at 05:57