jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Created] (OAK-261) Support quering on property types
Date Mon, 20 Aug 2012 15:23:38 GMT
Michael Dürig created OAK-261:
---------------------------------

             Summary: Support quering on property types
                 Key: OAK-261
                 URL: https://issues.apache.org/jira/browse/OAK-261
             Project: Jackrabbit Oak
          Issue Type: New Feature
          Components: core
            Reporter: Michael Dürig


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

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

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

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

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


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message