Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Component/s: library
    • Security Level: Public
    • Labels:
    • Environment:
      all platforms

      Description

      Hi,

      I received a variety of content corrections from a customer for the C SDK. I made all possible, however some require changes in the sample code the SDK Team provides. The existing sample code is here:

      http://www.couchbase.com/docs/couchbase-sdk-c-1.0/simple_example.html

      The customer requests:

      • The tutorial example bails from callbacks with exit(), rather than
        passing control back to main (after setting a global flag, for example,
        or one passed in via the cookie, etc.).
      • The tutorial should also show use of libcouchbase_remove() and what to
        expect from libcouchbase_mget() afterwards (the latter is in the Python
        docs, but not the C docs).
      • The tutorial should use libcouchbase_destroy().
      • Some mention of whether a disconnect is needed or not would be
        appropriate.

      Let me know if you are able to demonstrate use of these other methods in the sample code and send the code. I will add the new sample and document.

      Also let me know if a C client needs to be destroyed and if so how.

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

        Activity

        Show
        avsej Sergey Avseyev added a comment - http://www.couchbase.com/docs/couchbase-sdk-c-2.1/simple_example.html

          People

          • Assignee:
            avsej Sergey Avseyev
            Reporter:
            kzeller kzeller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes