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

Document VERSION() and DS_VERSION() in N1QL Miscellaneous Utility Functions

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • Neo.Next
    • 7.1.2
    • query
    • None

    Description

      We should document the following 2 N1QL Miscellaneous Utility Functions in our documentation here

      • VERSION() — returns SQL++ version

      Example:

      SELECT VERSION() as language_version;
      

      Output:

      [
        {
          "language_version": "7.1.1-N1QL"
        }
      ]
      

      * DS_VERSION() – returns the Couchbase Server version

      Example:

      SELECT DS_VERSION() as server_version;
      

      Output:

      [
        {
          "server_version": "7.1.1-3175-enterprise"
        }
      ]
      

      Attachments

        Issue Links

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

          Activity

            People

              simon.dew Simon Dew
              yuvraj.kanwar Yuvraj Kanwar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty