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

Database Close Method Typo

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Mobile 3.0
    • None
    • couchbase-lite
    • None
    • 1

    Description

      The Close method in this example is incorrectly documented. It should be Close() instead of close()

      https://docs.couchbase.com/couchbase-lite/current/csharp/document.html#close-the-database 

      I was getting the following error with close()

      error CS1061: 'Database' does not contain a definition for 'close' and no accessible extension method 'close' accepting a first argument of type 'Database' could be found (are you missing a using directive or an assembly reference?) 

      I created a PR to fix this as well on Github. 

      https://github.com/couchbase/docs-couchbase-lite/pull/710 

      Attachments

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

        Activity

          People

            Ian.bridge Ian Bridge
            nithish.raghunandanan Nithish Raghunandanan
            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