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

Improve readability of Coalesce() with large number of expressions

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • feature-backlog
    • 7.1.1
    • query
    • None
    • 1

    Description

      From Discord user:

      Request for N1QL/SQL++ to have an infix operator for Coalesce to make things easier. It could use common syntax for nullish coalescing in other languages. For example, foo.bar ?? "default value" instead of Coalesce(foo.bar, "default value"). When you need to use Coalesce on a large number of expressions in a query, it tends to reduce readability

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            perry Perry Krug
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty