Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.3
    • Component/s: library
    • Labels:
      None

      Description

      When performing a query in the vein of:
      _couchClient.GetView<object>("DocumentName", "ViewName");
      It would be helpful to have a command like View.Exists before fetching the View. At the very least, something similar to the TryGet command, but for getting a view.

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

        Activity

        kyle.sama Kyle Sama created issue -
        Hide
        john John Zablocki (Inactive) added a comment -

        under the Couchbase.Management namespace, there is a CouchbaseCluster class with a GetDesignDocument. You'd have to interrogate the JSON to check for a view, but it is possible. I'll look into updating the API to have a view exists method.

        Show
        john John Zablocki (Inactive) added a comment - under the Couchbase.Management namespace, there is a CouchbaseCluster class with a GetDesignDocument. You'd have to interrogate the JSON to check for a view, but it is possible. I'll look into updating the API to have a view exists method.
        john John Zablocki (Inactive) made changes -
        Field Original Value New Value
        Fix Version/s 1.3 [ 10396 ]
        Hide
        john John Zablocki (Inactive) added a comment -

        Released.

        Show
        john John Zablocki (Inactive) added a comment - Released.
        john John Zablocki (Inactive) made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 1.2.3 [ 10519 ]
        Fix Version/s 1.3 [ 10396 ]
        Resolution Duplicate [ 3 ]
        Hide
        john John Zablocki (Inactive) added a comment -

        Wrong close reason.

        Show
        john John Zablocki (Inactive) added a comment - Wrong close reason.
        john John Zablocki (Inactive) made changes -
        Resolution Duplicate [ 3 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        john John Zablocki (Inactive) made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        brett19 Brett Lawson made changes -
        Workflow jira [ 21940 ] Couchbase SDK Workflow [ 43062 ]

          People

          • Assignee:
            john John Zablocki (Inactive)
            Reporter:
            kyle.sama Kyle Sama
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes