Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-12454

NodeJS SDK Expiration/TTL wording issue

    XMLWordPrintable

Details

    Description

      Request:

      The wording of the documentation is wrong. for the following specifically for the latest NodeJS SDKs:

      If the absolute value of the expiry is less than 30 days (such as 60 * 60 * 24 * 30), it is considered an offset. If the value is greater, it is considered an absolute time stamp. For more on expiration see the expiration section of our documents discussion doc. 

      https://docs.couchbase.com/nodejs-sdk/current/howtos/kv-operations.html#expiration-ttl

      The description in the RFC is correct: 

      https://github.com/couchbaselabs/sdk-rfcs/blob/master/rfc/0053-sdk3-crud.md

      "Expiry - the length of time the document will be stored in Couchbase before being evicted."

      Attachments

        Issue Links

          Activity

            People

              richard.smedley Richard Smedley
              dhruv.shah Dhruv Shah
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                PagerDuty