Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1350

cbc-n1qlback should have an option to enforce prepared/adhoc queries

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.7
    • tools
    • None
    • 1

    Description

      In the query file for cbc-n1qlback each line might have optional "n1qlback": property, where currently only one option accepted: boolean field "prepare". For example:

      {"statement":"SELECT * FROM `travel-sample` WHERE type=$type LIMIT 10", "$type":"airline", "n1qlback": {"prepare": true}}
      

      The "n1qlback" stripped inside cbc-n1qlback and does not become part of the query payload.

      Attachments

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

        Activity

          Build couchbase-server-7.0.0-4433 contains libcouchbase commit e50311a with commit message:
          CCBC-1350: an option for cbc-n1ql to control prepared/adhoc switch

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-4433 contains libcouchbase commit e50311a with commit message: CCBC-1350 : an option for cbc-n1ql to control prepared/adhoc switch

          People

            avsej Sergey Avseyev
            avsej Sergey Avseyev
            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