jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: Converting XPath to SQL-2
Date Tue, 03 Apr 2012 11:39:52 GMT
Hi,

On Tue, Apr 3, 2012 at 12:40 PM, Thomas Mueller <mueller@adobe.com> wrote:
> How would the SQL-2 query look like to match the XPath query?

I'd just make it:

    select * from [nt:base] where [test]='hello'

The //* expression matches all nodes, so no need to map it to any
specific constraint.

BR,

Jukka Zitting

Mime
View raw message