You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2012/12/10 15:57:22 UTC

[jira] [Updated] (OAK-261) Support querying on property types

     [ https://issues.apache.org/jira/browse/OAK-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mueller updated OAK-261:
-------------------------------

    Component/s: query
       Assignee: Thomas Mueller
    
> Support querying on property types
> ----------------------------------
>
>                 Key: OAK-261
>                 URL: https://issues.apache.org/jira/browse/OAK-261
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: core, query
>            Reporter: Michael Dürig
>            Assignee: Thomas Mueller
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira