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

QueryAsync(String statement) does not exist

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.0
    • 3.0.1
    • library
    • None
    • 1

    Description

      Per the Query sdk-rfc there should be an overload (underload?) on QueryAsync() that takes a simple string, but it seems to be missing.

      Expected:

                  var result = await cluster.QueryAsync<dynamic>("select \"Hello World\" as greeting");
      

      workaround:

                  var result = await cluster.QueryAsync<dynamic>("select \"Hello World\" as greeting", new Couchbase.Query.QueryOptions());
      

      Attachments

        For Gerrit Dashboard: NCBC-2458
        # Subject Branch Project Status CR V

        Activity

          There are no comments yet on this issue.

          People

            btburnett3 Brant Burnett
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty