Open bwgjoseph opened 3 years ago
We are adding TTL for some operations in next release this way you can set TTL per document.
Was this feature added in beta.9?
hi @bwgjoseph
yes, TTL for documents while using key/value operation is available (maxExpiry for mutations and withExpiry for queries)
Hi,
Expanding from #94, is there any way to set the expiry per document instead of per collection? I do have some use-case for it
I mean whatever that is defined in the
ModelOptions
could be the default expiry for all documents in that collection but if one of my documents has a different expiry than what was declared in theModelOptions
then during the document creation, maybe it could allow me to specify the expiry? Possible?Thanks