Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-744

Update the InsertOptions expiry time in seconds in Couchbase PHP SDK documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • docs
    • None
    • 1

    Description

      Currently on this PHP documentation : https://docs.couchbase.com/sdk-api/couchbase-php-client/classes/Couchbase-InsertOptions.html#method_expiry  InsertOptions expiry time is mentioned in milliseconds whereas for Upsert/Replace are mentioned in seconds and can also accept a DateTimeInferface https://docs.couchbase.com/sdk-api/couchbase-php-client/classes/Couchbase-ReplaceOptions.html#method_expiry. , https://docs.couchbase.com/sdk-api/couchbase-php-client/classes/Couchbase-UpsertOptions.html#method_expiry .

      As expiry is treated the same for Insert/Upsert/Replace operations, InsertOptions expiry time is also in seconds. So document https://docs.couchbase.com/sdk-api/couchbase-php-client/classes/Couchbase-InsertOptions.html#method_expiry  needs to be updated to correct the InsertOptions#expiry time in seconds instead of milliseconds just like Upsert/Replace.

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            avsej Sergey Avseyev
            anusha.mathur Anusha Mathur
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty