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

Add ARRAY_BINARY_SEARCH function

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • feature-backlog, 6.5.0
    • 4.5.0
    • query
    • None

    Description

      Add ARRAY_BINARY_SEARCH(expr, value) function.

      (1) If the argument is MISSING, return MISSING.
      (2) If the argument is not an array, return NULL.
      (3) The argument is an array. Assume it is sorted. Return the 0-based position of the value. If the value is not found, return -1 (a negative value).

      Attachments

        Issue Links

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

          Activity

            People

              chang.liu Chang Liu (Inactive)
              gerald Gerald Sangudi (Inactive)
              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