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

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty