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

Access XAttrs from N1QL

    XMLWordPrintable

Details

    Description

      Customers should be able to use N1QL to introspect Sync Gateway's metadata (e.g. to find docs in a given channel). This kind of functionality can be useful for both developers creating apps and also when trying to debug Sync Gateway issues. There have been cases where the Support team has used N1QL to target the existing _sync property while working customer issues.

      e.g. SELECT xattrs() | xattrs(alias)._mobile.channels FROM …

       

      Could work similar to meta() | meta(alias)

      Attachments

        Issue Links

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

          Activity

            People

              korrigan.clark Korrigan Clark (Inactive)
              sachin.smotra Sachin Smotra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty