Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-22573

Query Workbench | Parameter binding

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Blocker
    • None
    • 4.5.1
    • query_tools
    • None

    Description

      We really should be supporting parameter binding on the query workbench and natively within N1QL

      Right now we do some fancy stuff with CBQ \SET etc., should be simpler than that.

      e.g.

      PREPARE P1 as SELECT * from bucket where name=$1 and city=$2

      EXECUTE P1 USING / WITH  name="asif" and city="dublin"

       

      The \SET for CBQ or the curl command is cumbersome to use and remember.

       

       

      Attachments

        Issue Links

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

          Activity

            People

              keshav Keshav Murthy
              asif.kazi Asif Kazi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty