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

Data reshaping vs SQL typed values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Test Blocker
    • Neo.Next
    • None
    • None

    Description

      Hi, could you please elaborate here in the document?

      By contrast, N1QL permits data reshaping, by embedding statement-attributes in the desired result-object shape

      How is

      SELECT Name, History, {'FullTime': true} AS 'Status'
      FROM HRData

      Any different from

      SELECT Name, Company, "True" as Fulltime
      FROM Employee, Employers
      WHERE Name_Key = Name

      The above by contrast indicates this is something different - but from the example it's not clear how

      Reporter: Dani
      E-mail: otdmunka@gmail.com

      Attachments

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

        Activity

          People

            simon.dew Simon Dew
            docsite-collector Docs Site Collector
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty