Does Couchbase document expiration affect documents which reference the expired document?
-
21-12-2019 - |
题
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?
解决方案
No. A document's TTL (expiry) affects just that document.
不隶属于 StackOverflow