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

Missing 'collection' declaration

    XMLWordPrintable

Details

    Description

      The variable collection is used however this is not defined anywhere. You make reference to 'DefaultCollection' in the text but this is not clear in the code sample. I would recommend adding something like:

      	collection := bucket.DefaultCollection()
      

      Attachments

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

        Activity

          People

            richard.smedley Richard Smedley
            jacques.rascagneres Jacques Rascagneres
            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