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
    • Resolution: Fixed
    • Critical
    • 3.0.1
    • 3.0.0
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty