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

Error in view queries sample code

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • None
    • 2.0.1
    • docs
    • None

    Description

      We found another mistakes in document
      http://docs.couchbase.com/developer/dotnet-2.0/view-queries.html

      This is wrong code.
      var query = bucket.CreateQuery(false).
      DesignDoc("beer").
      View("brewery_beers").

      CreateQuery(false) is impossible. So it should be…

      var query = bucket.CreateQuery("beer","brewery_beers", false).

      OR

      var query = bucket.CreateQuery("beer","brewery_beers").FullSet().

      Thanks,
      Koichi

      Attachments

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

        Activity

          People

            jmorris Jeff Morris
            akurtzman Amy Kurtzman (Inactive)
            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