Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-1023

INSERT statement example contains smart quotes

    XMLWordPrintable

Details

    Description

      {{INSERT INTO product (KEY, VALUE) VALUES ("odwalla-juice1”,

      { "productId": "odwalla-juice1”, "unitPrice": 4.40, "type": "product", "color":"green"}

      ) RETURNING * }}

      After both occurrences of odwalla-juice1 a smart quote is used rather than a double quote - the produces a syntax error if copy-pasted.

      Attachments

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

        Activity

          People

            amarantha.kulkarni Amarantha Kulkarni (Inactive)
            James Flather James Flather (Inactive)
            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