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

XDCR Filtering Expressions: Array Slicing, Negative Array Indexing, Arrays with * Operator aren't valid.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • xdcr
    • None

    Description

      On https://docs.couchbase.com/server/current/xdcr-reference/xdcr-filtering-expressions.html#xdcr-selection-operators-comparison-with-sql , it states that 
      The Element Selection Operator is also used in SQL++ with additional functionality: negative indexing of arrays and the * operator are supported. SQL++ also provides array slicing that allows the building of sub-slices of arrays. For information, see the SQL++ page for Nested Operators and Expressions.

      However, when testing these filtering expressions, XDCR doesn't seem to like it at all. Have confirmed with XDCR team and Patrick Varley that it looks like a docs issue.

      Attachments

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

        Activity

          People

            gary.gray Gary Gray
            nam.duong Nam Duong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty