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

Subdocument Lookupin Exists documentation is incorrect

    XMLWordPrintable

Details

    Description

      https://docs.couchbase.com/go-sdk/2.1/howtos/subdocument-operations.html#retrieving

      Documentation for using ExistsSpec is incorrect. We have examples that show to use ContentAt to retrieve the result which will actually throw/return an error if the path doesn't exist. We need to be more clear about this and update the examples to use the Exists function for SDKs that follow this behaviour (there is a slight difference in behaviour across the SDKs).

      Attachments

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

        Activity

          People

            richard.smedley Richard Smedley
            charles.dixon Charles Dixon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty