Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-261

Support querying on property types

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6
    • core, query
    • None

    Description

      For backward resolving of references and weak references we need support to query on property types:

      SELECT * FROM [nt:base] 
      WHERE PROPERTY([*], 'REFERENCE') = '1234-abcd'
      

      would return all properties of type REFERENCE whose value is '1234'.

      SELECT * FROM [nt:base] 
      WHERE PROPERTY(['foo'], 'REFERENCE') = '1234-abcd'
      

      would return all properties named 'foo' of type REFERENCE whose value is '1234'.

      Attachments

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              mduerig Michael Dürig
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: