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

return values of the ANY, ANY AND EVRY, EVERY is boolean

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 6.6.1
    • Fix Version/s: 6.6.1
    • Component/s: None

      Description

      https://forums.couchbase.com/t/any-every-collection-operator-return-value/31480/2

      If at least one item in the array satisfies the ANY expression, then it returns the boolean (true, false) or MISSING or NULL

      ANY v IN a1 SATISFIES v.x = 123 END

      a1 is MISSING returns MISSING
      a1 is not array returns NULL
      If at least one item in the array satisfies then returns true
      else false

        Attachments

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

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            amarantha.kulkarni Amarantha Kulkarni (Inactive)
            Reporter:
            docsite-collector Docs Site Collector
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty