jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rolf Poo" <r...@mail.com>
Subject Why does this not work?
Date Fri, 21 Jun 2013 08:02:07 GMT
select * from [mgnl:content] as p1
inner join [mgnl:content] as p2 on ischildnode(p2,p1)
where ischildnode(p1,'/') and
(name(p1) = 'folder') and
(name(p2) = 'file')


Please help me with my query. I am very frustrated.
The query above is supposed to find ony the node "/folder/file", but it also matches "/other/somewhere/file"

Can you please help me formulating the correct query? I would be grateful forever


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message