Fork me on GitHub
#xtdb
<
2024-01-29
>
jussi08:01:58

Hi, just wondering that if I have an existing document with valid-from and valid-until defined (they were supplied at document creation) how would one nillify the valid-until? Updating the document using just nil value as valid-until functions as if it were never given and does not update the time. For clarity, I'm trying to change the record validity to "forever".

jussi08:01:05

Do I have to create an #inst into the future in order to achieve the wanted functionality?

refset13:01:10

Hey @U0267SNCPEY > Do I have to create an #inst into the future in order to achieve the wanted functionality? yes that's right, (in v1) you would need to manually use (Date. Integer/MAX_VALUE) to create a new entry in the log which completely overrides a narrower interval. By default (Date. Integer/MAX_VALUE) is used when a valid-to is not specified

1
jussi13:01:38

Thx!

🙏 1