Does Couchbase document expiration affect documents which reference the expired document?
-
21-12-2019 - |
Question
Does Couchbase document expiration affect documents which reference the expired document ? E.g. in the "Modelling documents for retrieval" section of the documentation, there are crater documents which reference asteroid documents as follows:
"crater_id" : "crater1", "on_asteroid" : "asteroidA"
Now, if the document with ID "asteroidA" were to expire, would that affect this record for this crater crater1?
Solution
No. A document's TTL (expiry) affects just that document.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow