Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3211

AnalyticsException usage in docs is not correct

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.1
    • backlog-3.0
    • docs
    • None
    • 1

    Description

      From NCBC-3186:

      @cbanq
      1. In the documentation on [handling analytics responses](https://docs.couchbase.com/dotnet-sdk/current/howtos/analytics-using-sdk.html#handling-the-response) it says `catch (AnalyticsException exception)`. This brings up a compile error but I can't find any reference in the api docs as to how to import `AnalyticsExcception`. Do you know if this is a mistake in the docs or am I missing something?
      2. In that same documentation it says `if (result.Rows.Any())`. This also causes a compile error in the code. In the api docs for [Interface IAnalyticsResult](https://docs.couchbase.com/sdk-api/couchbase-net-client/api/Couchbase.Analytics.IAnalyticsResult-1.html) I also can't see anything under Rows.any(). 

      Attachments

        Issue Links

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

          Activity

            There are no comments yet on this issue.

            People

              jmorris Jeff Morris
              jmorris Jeff Morris
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty